Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetRotation(AnimationStream, Quaternion)

Sets the rotation of the transform in world space.
Read time 1 minuteLast updated 6 days ago

Definition

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

Parameters

The AnimationStream that manages this handle.

rotation

The rotation of the transform in world space.