Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetRotation(AnimationStream)

Gets the rotation of the transform in world space.
Read time 1 minuteLast updated 10 days ago

Definition

public Quaternion GetRotation(AnimationStream stream)

Parameters

The AnimationStream that holds the animated values.

Returns

Type

Description

QuaternionThe rotation of the transform in world space.