GetLocalPosition(AnimationStream)
Gets the position of the transform relative to the parent.
Read time 1 minuteLast updated 6 days ago
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. |