WindowExtensions

Summary

Definition

Namespace: SDT4.Managed.Input
Assembly: SDT4.Managed.Input.dll

static class WindowExtensions
Inheritance:

ObjectWindowExtensions

Implements:


Fields

Name Type Description

Properties

Name Type Description

Methods

public static Void AddWindowResizeCallback(Window window, WindowResizeCallback resizeCallback)

Summary

Registers a callback for whenever the window resizes.

Parameters:


public static Void RemoveWindowResizeCallback(Window window, WindowResizeCallback resizeCallback)

Summary

Removes a previously registered callback for whenever the window resizes. If NO such delegate was registered, an IndexOutOfRangeException is thrown.

Parameters:


public static Boolean IsKeyDown(Window window, KeyInput key)

Parameters:

Returns:


public static Boolean IsMouseDown(Window window, MouseInput mouseBtn)

Parameters:

Returns:


public static Vector2f GetMousePosition()

Returns: