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

TransformStreamHandle.SetLocalRotation

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.

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