C# Class GridDrawer, RiggedHandVisualizer

Inheritance: MonoBehaviour
Exibir arquivo Open project: leapmotion/RiggedHandVisualizer Class Usage Examples

Public Properties

Property Type Description
m_center Vector3

Public Methods

Method Description
DrawLine ( Vector3 p1, Vector3 p2, Color c, float lineWidth = 0.5f ) : void
OnPostRender ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
GetLineMaterial ( Color color ) : Material

Method Details

DrawLine() public method

public DrawLine ( Vector3 p1, Vector3 p2, Color c, float lineWidth = 0.5f ) : void
p1 Vector3
p2 Vector3
c Color
lineWidth float
return void

OnPostRender() public method

public OnPostRender ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

m_center public_oe property

public Vector3 m_center
return Vector3