Tanoda
|
Public Member Functions | |
override SupportInfo | GetSpaceSupportInfo (LeapSpace space) |
void | OnAddRemoveGraphics (List< int > dirtyIndexes) |
Must be implemented by a renderer to report that it is able to support adding and removing graphics at runtime. More... | |
override void | OnEnableRenderer () |
Called when the renderer is enabled at runtime. More... | |
override void | OnDisableRenderer () |
Called when the renderer is disabled at runtime. More... | |
override void | OnUpdateRenderer () |
Called from LateUpdate during runtime. Use this to update the renderer using any changes made to during this frame. More... | |
![]() | |
abstract SupportInfo | GetSpaceSupportInfo (LeapSpace space) |
abstract void | OnEnableRenderer () |
Called when the renderer is enabled at runtime. More... | |
abstract void | OnDisableRenderer () |
Called when the renderer is disabled at runtime. More... | |
abstract void | OnUpdateRenderer () |
Called from LateUpdate during runtime. Use this to update the renderer using any changes made to during this frame. More... | |
abstract bool | IsValidGraphic< T > () |
override bool | IsValidGraphic< T > () |
abstract bool | IsValidGraphic (LeapGraphic graphic) |
override bool | IsValidGraphic (LeapGraphic graphic) |
abstract LeapGraphic | GetValidGraphicOnObject (GameObject obj) |
override LeapGraphic | GetValidGraphicOnObject (GameObject obj) |
void | PreventDuplication< T > (ref T t) |
void | OnAddRemoveGraphics (List< int > dirtyIndexes) |
Must be implemented by a renderer to report that it is able to support adding and removing graphics at runtime. More... | |
Public Attributes | |
bool | _useColor = true |
Color | _globalTint = Color.white |
Static Public Attributes | |
const string | DEFAULT_FONT = "Arial.ttf" |
const string | DEFAULT_SHADER = "LeapMotion/GraphicRenderer/Text/Dynamic" |
const float | SCALE_CONSTANT = 0.001f |
![]() | |
const string | DATA_FOLDER_NAME |
const string | ASSET_PATH |
Additional Inherited Members | |
![]() | |
LeapGraphicRenderer | renderer [get] |
Gets the renderer this rendering method is attached to. More... | |
LeapGraphicGroup | group [get] |
Gets the group this rendering method is attached to. More... | |
![]() | |
LeapGraphicRenderer | renderer [set] |
LeapGraphicGroup | group [set] |
Definition at line 23 of file LeapTextRenderer.cs.
override SupportInfo Leap.Unity.GraphicalRenderer.LeapTextRenderer.GetSpaceSupportInfo | ( | LeapSpace | space | ) |
Definition at line 60 of file LeapTextRenderer.cs.
void Leap.Unity.GraphicalRenderer.LeapTextRenderer.OnAddRemoveGraphics | ( | List< int > | dirtyIndexes | ) |
Must be implemented by a renderer to report that it is able to support adding and removing graphics at runtime.
Will be called once per frame, with a list of indexes that are 'dirty'. Each dirty index represents a graphic that might have changed completely because an ordering has changed. Dirty indexes will not be included for new graphics, so you will also need to check to see if the graphics list has increased in size.
Implements Leap.Unity.GraphicalRenderer.ISupportsAddRemove.
Definition at line 64 of file LeapTextRenderer.cs.
|
virtual |
Called when the renderer is disabled at runtime.
Implements Leap.Unity.GraphicalRenderer.LeapRenderingMethod< LeapTextGraphic >.
Definition at line 86 of file LeapTextRenderer.cs.
|
virtual |
Called when the renderer is enabled at runtime.
Implements Leap.Unity.GraphicalRenderer.LeapRenderingMethod< LeapTextGraphic >.
Definition at line 75 of file LeapTextRenderer.cs.
|
virtual |
Called from LateUpdate during runtime. Use this to update the renderer using any changes made to during this frame.
Implements Leap.Unity.GraphicalRenderer.LeapRenderingMethod< LeapTextGraphic >.
Definition at line 90 of file LeapTextRenderer.cs.
Color Leap.Unity.GraphicalRenderer.LeapTextRenderer._globalTint = Color.white |
Definition at line 38 of file LeapTextRenderer.cs.
bool Leap.Unity.GraphicalRenderer.LeapTextRenderer._useColor = true |
Definition at line 35 of file LeapTextRenderer.cs.
|
static |
Definition at line 24 of file LeapTextRenderer.cs.
|
static |
Definition at line 25 of file LeapTextRenderer.cs.
|
static |
Definition at line 26 of file LeapTextRenderer.cs.