Tanoda
Leap.Unity.GraphicalRenderer.ISupportsAddRemove Interface Reference
Inheritance diagram for Leap.Unity.GraphicalRenderer.ISupportsAddRemove:
Leap.Unity.GraphicalRenderer.LeapDynamicRenderer Leap.Unity.GraphicalRenderer.LeapTextRenderer

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...
 

Detailed Description

Definition at line 13 of file ISupportsAddRemove.cs.

Member Function Documentation

◆ OnAddRemoveGraphics()

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.


The documentation for this interface was generated from the following file: