ドキュメント

Unity Engine

Unity Engine

GetLocalTRS(AnimationStream, out Vector3, out Quaternion, out Vector3)

Gets the position, rotation and scale of the transform relative to the parent.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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.

position

The position of the transform relative to the parent.

rotation

The rotation of the transform relative to the parent.

scale

The scale of the transform relative to the parent.