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

TransformStreamHandle.SetLocalRotation

Switch to Manual
public void SetLocalRotation (Experimental.Animations.AnimationStream stream, Quaternion rotation);

Parameters

streamThe AnimationStream that hold the animated values.
rotationThe rotation of the transform relative to the parent.

Description

Sets the rotation of the transform relative to the parent.