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 10 days ago

Definition

public void SetRotation(AnimationStream stream, Quaternion rotation)

Parameters

The AnimationStream that holds the animated values.

rotation

The rotation of the transform in world space.