OVRGLTFAnimationNodeMorphTargetHandler
(
meshData
)
|
Signature
OVRGLTFAnimationNodeMorphTargetHandler(OVRMeshData meshData) Parameters meshData: OVRMeshData |
Weights
: float[] |
Signature
float [] Weights |
MarkModified
()
|
Marks the mesh data as modified so that Update will process the new morph target weights.
Signature
void MarkModified() Returns void |
Update
()
|
Updates the mesh vertices and UVs when the weights are modified.
This should be called during an animation update to ensure the mesh is updated correctly.
Signature
void Update() Returns void |