GetLocalPosition(AnimationStream)
Gets the position of the transform relative to the parent.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public Vector3 GetLocalPosition(AnimationStream stream)
Parameters
The AnimationStream that holds the animated values.
Returns
Type | Description |
|---|---|
| Vector3 | The position of the transform relative to the parent. |