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

TransformStreamHandle.GetLocalPosition

public Vector3 GetLocalPosition(Experimental.Animations.AnimationStream stream);

Parameters

streamThe AnimationStream that holds 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.