Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetLocalRotation(AnimationStream)

Gets the rotation of the transform relative to the parent.
Read time 1 minuteLast updated 9 days ago

Definition

public Quaternion GetLocalRotation(AnimationStream stream)

Parameters

The AnimationStream that holds the animated values.

Returns

Type

Description

QuaternionThe rotation of the transform relative to the parent.