Tanoda
Leap.Unity.GraphicalRenderer.LeapBlendShapeData Class Reference
Inheritance diagram for Leap.Unity.GraphicalRenderer.LeapBlendShapeData:
Leap.Unity.GraphicalRenderer.LeapFeatureData

Public Types

enum  BlendShapeType {
  Translation , Rotation , Scale , Transform ,
  Mesh
}
 

Public Member Functions

bool TryGetBlendShape (List< Vector3 > blendVerts)
 Returns the blended vertices based on the current mesh this blend shape is attached to. If you want to ensure this blend shape data is up-to-date, make sure to call RefreshMeshData on the graphic itself first. More...
 
- Public Member Functions inherited from Leap.Unity.GraphicalRenderer.LeapFeatureData
void MarkFeatureDirty ()
 

Properties

float amount [get, set]
 Gets or sets the amount of strength for this blend shape. The value should be in the 0-1 range, where 0 is no strength, and 1 is complete strength. More...
 

Additional Inherited Members

- Public Attributes inherited from Leap.Unity.GraphicalRenderer.LeapFeatureData
LeapGraphic graphic
 
LeapGraphicFeatureBase feature
 

Detailed Description

Definition at line 42 of file LeapBlendShapeData.cs.

Member Enumeration Documentation

◆ BlendShapeType

Enumerator
Translation 
Rotation 
Scale 
Transform 
Mesh 

Definition at line 145 of file LeapBlendShapeData.cs.

Member Function Documentation

◆ TryGetBlendShape()

bool Leap.Unity.GraphicalRenderer.LeapBlendShapeData.TryGetBlendShape ( List< Vector3 >  blendVerts)

Returns the blended vertices based on the current mesh this blend shape is attached to. If you want to ensure this blend shape data is up-to-date, make sure to call RefreshMeshData on the graphic itself first.

Definition at line 92 of file LeapBlendShapeData.cs.

Property Documentation

◆ amount

float Leap.Unity.GraphicalRenderer.LeapBlendShapeData.amount
getset

Gets or sets the amount of strength for this blend shape. The value should be in the 0-1 range, where 0 is no strength, and 1 is complete strength.

Definition at line 74 of file LeapBlendShapeData.cs.


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