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

TransformStreamHandle.SetRotation

Declaration

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

Parameters

stream The AnimationStream that hold the animated values.
rotation The rotation of the transform in world space.

Description

Sets the rotation of the transform in world space.