TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class ApplicationUtil in Tinman.AddOns.Application

static class ApplicationUtil  

Configuration

Config

The configurator object for IApplication types.

public static property Config { get }
type IConfigurator<IApplication>
value [not-null] The configurator object.

Public / Constants

ButtonCount

Total number of mouse buttons.

public constant ButtonCount = 3
type int32

See also:

MouseButton

ButtonFirst

The first mouse button constant (inclusive).

public constant ButtonFirst = MouseButton.Left
type MouseButton

See also:

MouseButton

ButtonLast

The last mouse button constant (inclusive).

public constant ButtonLast = MouseButton.Right
type MouseButton

See also:

MouseButton

InputNone

An IInputState object that always returns false.

public static readonly field InputNone
type IInputState

Remarks:

This object can be used to avoid null checks when using InputAttach and InputDetach.

KeyCount

Total number of keyboard keys.

public constant KeyCount = 98
type int32

See also:

KeyboardKey

KeyFirst

The first keyboard key constant (inclusive).

public constant KeyFirst = KeyboardKey.Alt
type KeyboardKey

See also:

KeyboardKey

KeyLast

The last keyboard key constant (inclusive).

public constant KeyLast = KeyboardKey.Tab
type KeyboardKey

See also:

KeyboardKey

Public / Attributes

Clipboard

The text content of the system clipboard.

public static property Clipboard { get set }
type string
value The text content or null.

Public / Methods

NameOf

Returns the human-readable name of the given keyboard key.

[Pure]
public static method NameOf (KeyboardKey key)
type string
params key The keyboard key.
returns [not-empty] The human-readable name.

Returns the human-readable name of the given mouse button.

[Pure]
public static method NameOf (MouseButton button)
type string
params button The mouse button.
returns [not-empty] The human-readable name.

ToModifier

Returns the input modifier for the given mouse button.

[Pure]
public static method ToModifier (MouseButton button)
type InputModifiers
params button The mouse button.
returns The input modifier or None.

Returns the input modifier for the given keyboard key.

[Pure]
public static method ToModifier (KeyboardKey key)
type InputModifiers
params key The keyboard key.
returns The input modifier or None.