This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

TransformStreamHandle.GetLocalPosition

Declaration

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

Parameters

stream The 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.