Documentation

Unity Engine


Unity Engine


SetLocalRotation(AnimationStream, Quaternion)

Sets the rotation of the transform relative to the parent.
Read time 1 minuteLast updated a month ago

Definition

Warning
Removed. SceneHandle is now read-only; it was problematic with the engine multithreading and determinism
public void SetLocalRotation(AnimationStream stream, Quaternion rotation)

Parameters

The AnimationStream that manages this handle.

rotation

The rotation of the transform relative to the parent.