Tanoda
|
Public Member Functions | |
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... | |
Definition at line 13 of file ISupportsAddRemove.cs.
void Leap.Unity.GraphicalRenderer.ISupportsAddRemove.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.
Implemented in Leap.Unity.GraphicalRenderer.LeapDynamicRenderer, and Leap.Unity.GraphicalRenderer.LeapTextRenderer.