Tanoda
Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType > Class Template Referenceabstract
Inheritance diagram for Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType >:
Leap.Unity.GraphicalRenderer.ILeapInternalRenderingMethod

Public Member Functions

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 > ()
 
abstract bool IsValidGraphic (LeapGraphic graphic)
 
abstract LeapGraphic GetValidGraphicOnObject (GameObject obj)
 
void PreventDuplication< T > (ref T t)
 
override bool IsValidGraphic< T > ()
 
override bool IsValidGraphic (LeapGraphic graphic)
 
override LeapGraphic GetValidGraphicOnObject (GameObject obj)
 

Static Public Attributes

const string DATA_FOLDER_NAME = "_ElementData"
 
const string ASSET_PATH = "Assets/Generated/RendererData/"
 

Properties

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...
 
- Properties inherited from Leap.Unity.GraphicalRenderer.ILeapInternalRenderingMethod
LeapGraphicRenderer renderer [set]
 
LeapGraphicGroup group [set]
 

Detailed Description

Type Constraints
GraphicType :LeapGraphic 

Definition at line 151 of file LeapRenderingMethod.cs.

Member Function Documentation

◆ GetSpaceSupportInfo()

abstract SupportInfo Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType >.GetSpaceSupportInfo ( LeapSpace  space)
pure virtual

◆ GetValidGraphicOnObject() [1/2]

abstract LeapGraphic Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType >.GetValidGraphicOnObject ( GameObject  obj)
pure virtual

◆ GetValidGraphicOnObject() [2/2]

override LeapGraphic Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType >.GetValidGraphicOnObject ( GameObject  obj)

Definition at line 166 of file LeapRenderingMethod.cs.

◆ IsValidGraphic() [1/2]

abstract bool Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType >.IsValidGraphic ( LeapGraphic  graphic)
pure virtual

◆ IsValidGraphic() [2/2]

override bool Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType >.IsValidGraphic ( LeapGraphic  graphic)

Definition at line 162 of file LeapRenderingMethod.cs.

◆ IsValidGraphic< T >() [1/2]

abstract bool Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType >.IsValidGraphic< T > ( )
pure virtual

◆ IsValidGraphic< T >() [2/2]

Definition at line 155 of file LeapRenderingMethod.cs.

◆ OnDisableRenderer()

abstract void Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType >.OnDisableRenderer ( )
pure virtual

Called when the renderer is disabled at runtime.

Implemented in Leap.Unity.GraphicalRenderer.LeapMesherBase, and Leap.Unity.GraphicalRenderer.LeapTextRenderer.

◆ OnEnableRenderer()

abstract void Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType >.OnEnableRenderer ( )
pure virtual

◆ OnUpdateRenderer()

abstract void Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType >.OnUpdateRenderer ( )
pure virtual

Called from LateUpdate during runtime. Use this to update the renderer using any changes made to during this frame.

Implemented in Leap.Unity.GraphicalRenderer.LeapBakedRenderer, Leap.Unity.GraphicalRenderer.LeapDynamicRenderer, Leap.Unity.GraphicalRenderer.LeapMesherBase, and Leap.Unity.GraphicalRenderer.LeapTextRenderer.

◆ PreventDuplication< T >()

void Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType >.PreventDuplication< T > ( ref T  t)
Type Constraints
T :UnityObject 

Definition at line 119 of file LeapRenderingMethod.cs.

Member Data Documentation

◆ ASSET_PATH

const string Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType >.ASSET_PATH = "Assets/Generated/RendererData/"
static

Definition at line 153 of file LeapRenderingMethod.cs.

◆ DATA_FOLDER_NAME

const string Leap.Unity.GraphicalRenderer.LeapRenderingMethod< GraphicType >.DATA_FOLDER_NAME = "_ElementData"
static

Definition at line 28 of file LeapRenderingMethod.cs.

Property Documentation

◆ group

Gets the group this rendering method is attached to.

Implements Leap.Unity.GraphicalRenderer.ILeapInternalRenderingMethod.

Definition at line 48 of file LeapRenderingMethod.cs.

◆ renderer

Gets the renderer this rendering method is attached to.

Implements Leap.Unity.GraphicalRenderer.ILeapInternalRenderingMethod.

Definition at line 39 of file LeapRenderingMethod.cs.


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