Node.GetWorldMatrix
Node.GetWorldMatrix method
Gets the world matrix of this node in a given animation at a given time.
public Matrix4x4 GetWorldMatrix(Animation animation, float time)
Parameter | Type | Description |
---|---|---|
animation | Animation | the animation to sample. |
time | Single | the time offset within the animation. |
Return Value
the sampled transform.
Remarks
This is a convenience method, but it’s slow, it’s better to cache GetCurveSamplers
.
See Also
- class Animation
- class Node
- namespace Aspose.CAD.FileFormats.GLB
- assembly Aspose.CAD