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 holds the animated values.
rotationThe rotation of the transform relative to the parent.

Description 描述

Sets the rotation of the transform relative to the parent.