Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

TransformSceneHandle.GetLocalRotation

Declaration

public Quaternion GetLocalRotation(Animations.AnimationStream stream);

Parameters

stream The AnimationStream that manages this handle.

Returns

Quaternion The rotation of the transform relative to the parent.

Description

Gets the rotation of the transform relative to the parent.