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 The position of the transform relative to the parent.

Description

Gets the position of the transform relative to the parent.