Property | Type | Description | |
---|---|---|---|
element | |||
listener | ISdkTrayListener | ||
trayLoc | TrayLocation |
Method | Description | |
---|---|---|
Cleanup ( ) : void |
|
|
CursorOffset ( |
Static utility method used to get the cursor's offset from the center of an overlay element in pixels.
|
|
FitCaptionToArea ( String caption, |
Static utility method to cut off a string to fit in a text area.
|
|
GetCaptionWidth ( String caption, |
Static utility method used to get the width of a caption in a text area.
|
|
Hide ( ) : void |
|
|
IsCursorOver ( |
Static utility method to check if the cursor is over an overlay element.
|
|
IsCursorOver ( |
|
|
NukeOverlayElement ( |
Static utility method to recursively delete an overlay element plus all of its children from the system.
|
|
OnCursorMoved ( Vector2 cursorPos ) : void |
Raises the CursorMoved event.
|
|
OnCursorPressed ( Vector2 cursorPos ) : void |
Raises the CursorPressed event.
|
|
OnCursorReleased ( Vector2 cursorPos ) : void |
Raises the CursorReleased event.
|
|
OnLostFocus ( ) : void |
Raises raises the LostFocus event.
|
|
Show ( ) : void |
|
|
Widget ( ) : System |
|
public static CursorOffset ( |
||
element | ||
cursorPos | Vector2 | |
return | Vector2 |
public static FitCaptionToArea ( String caption, |
||
caption | String | |
area | ||
maxWidth | Real | |
return | void |
public static GetCaptionWidth ( String caption, |
||
caption | String | |
area | ||
return | Real |
public static IsCursorOver ( |
||
element | ||
cursorPos | Vector2 | |
return | bool |
public static IsCursorOver ( |
||
element | ||
cursorPos | Vector2 | |
voidBorder | Real | |
return | bool |
public static NukeOverlayElement ( |
||
element | ||
return | void |
public OnCursorMoved ( Vector2 cursorPos ) : void | ||
cursorPos | Vector2 | current cursor position |
return | void |
public OnCursorPressed ( Vector2 cursorPos ) : void | ||
cursorPos | Vector2 | current cursor position |
return | void |
public OnCursorReleased ( Vector2 cursorPos ) : void | ||
cursorPos | Vector2 | current cursor position |
return | void |
protected OverlayElement,Axiom.Overlays element | ||
return |