Experimental: this API is experimental and might be changed or removed in the future.

TransformStreamHandle.GetLocalPosition

Switch to Manual
public Vector3 GetLocalPosition (Experimental.Animations.AnimationStream stream);

Parameters

streamThe AnimationStream that hold the animated values.

Returns

Vector3 相对于父对象的变换位置。

Description

Gets the position of the transform relative to the parent.