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 hold the animated values.
rotationThe rotation of the transform in world space.

Description

Sets the rotation of the transform in world space.

Did you find this page useful? Please give it a rating: