文档

Unity Engine

Unity Engine

GetGlobalTR(AnimationStream, out Vector3, out Quaternion)

Gets the position and scaled rotation of the transform in world space.
阅读时间1 分钟最后更新于 1 个月前

Definition

GetGlobalTR(AnimationStream, Vector3, Quaternion)

public void GetGlobalTR(AnimationStream stream, out Vector3 position, out Quaternion rotation)

Parameters

The AnimationStream that holds the animated values.

position

The position of the transform in world space.

rotation

The rotation of the transform in world space.