C# Class PolyFinger

Inheritance: FingerModel
Exibir arquivo Open project: leapmotion/ImageGrid

Public Properties

Property Type Description
sides int
smoothNormals bool
startingAngle float
widths float[]

Protected Properties

Property Type Description
cap_mesh_ Mesh
cap_vertices_ Vector3[]
joint_vertices_ Vector3[]
mesh_ Mesh
normals_ Vector3[]
vertices_ Vector3[]

Public Methods

Method Description
InitFinger ( ) : void
UpdateFinger ( ) : void

Protected Methods

Method Description
GetJointRotation ( int joint ) : Quaternion
InitCapsMesh ( ) : void
InitJointVertices ( ) : void
InitMesh ( ) : void
UpdateCapMesh ( ) : void
UpdateMesh ( ) : void

Private Methods

Method Description
OnDestroy ( ) : void
Update ( ) : void

Method Details

GetJointRotation() protected method

protected GetJointRotation ( int joint ) : Quaternion
joint int
return Quaternion

InitCapsMesh() protected method

protected InitCapsMesh ( ) : void
return void

InitFinger() public method

public InitFinger ( ) : void
return void

InitJointVertices() protected method

protected InitJointVertices ( ) : void
return void

InitMesh() protected method

protected InitMesh ( ) : void
return void

UpdateCapMesh() protected method

protected UpdateCapMesh ( ) : void
return void

UpdateFinger() public method

public UpdateFinger ( ) : void
return void

UpdateMesh() protected method

protected UpdateMesh ( ) : void
return void

Property Details

cap_mesh_ protected_oe property

protected Mesh cap_mesh_
return Mesh

cap_vertices_ protected_oe property

protected Vector3[] cap_vertices_
return Vector3[]

joint_vertices_ protected_oe property

protected Vector3[] joint_vertices_
return Vector3[]

mesh_ protected_oe property

protected Mesh mesh_
return Mesh

normals_ protected_oe property

protected Vector3[] normals_
return Vector3[]

sides public_oe property

public int sides
return int

smoothNormals public_oe property

public bool smoothNormals
return bool

startingAngle public_oe property

public float startingAngle
return float

vertices_ protected_oe property

protected Vector3[] vertices_
return Vector3[]

widths public_oe property

public float[] widths
return float[]