Version: 2019.2
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 holds the animated values.
positionThe position of the transform relative to the parent.

Description

Sets the position of the transform relative to the parent.