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

TransformStreamHandle.SetRotation

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

Parameters

streamThe AnimationStream that hold the animated values.
rotationThe rotation of the transform in world space.

Description

Sets the rotation of the transform in world space.