GetGlobalTR(AnimationStream, out Vector3, out Quaternion)
Gets the position and scaled rotation of the transform in world space.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
GetGlobalTR(AnimationStream, Vector3, Quaternion)
public void GetGlobalTR(AnimationStream stream, out Vector3 position, out Quaternion rotation)
Parameters
The AnimationStream that holds the animated values.
The position of the transform in world space.
The rotation of the transform in world space.