This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

TransformStreamHandle.SetRotation

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

Parameters

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

Description

Sets the rotation of the transform in world space.