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

TransformStreamHandle.GetLocalPosition

Cambiar al Manual
public Vector3 GetLocalPosition (Experimental.Animations.AnimationStream stream);

Parámetros

streamThe AnimationStream that hold the animated values.

Valor de retorno

Vector3 The position of the transform relative to the parent.

Descripción

Gets the position of the transform relative to the parent.