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

TransformStreamHandle.SetLocalPosition

Switch to Manual
public void SetLocalPosition (Experimental.Animations.AnimationStream stream, Vector3 position);

Parameters

streamThe AnimationStream that hold the animated values.
position相对于父对象的变换位置。

Description

Sets the position of the transform relative to the parent.