Node.GetLocalTransform

Node.GetLocalTransform method

Gets the local transform of this node in a given animation at a given time.

public AffineTransform GetLocalTransform(Animation animation, float time)
ParameterTypeDescription
animationAnimationthe animation to sample.
timeSinglethe 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