Documentation

Unity Engine

Unity Engine

GetRotation(AnimationStream)

Gets the rotation of the transform in world space.
Read time 1 minuteLast updated 2 months 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.