GetLocalTRS(AnimationStream, out Vector3, out Quaternion, out Vector3)
Gets the position, rotation and scale of the transform relative to the parent.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
GetLocalTRS(AnimationStream, Vector3, Quaternion, Vector3)
public void GetLocalTRS(AnimationStream stream, out Vector3 position, out Quaternion rotation, out Vector3 scale)
Parameters
The AnimationStream that holds the animated values.
The position of the transform relative to the parent.
The rotation of the transform relative to the parent.
The scale of the transform relative to the parent.