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

Description

Sets the position of the transform relative to the parent.