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

TransformStreamHandle.GetRotation

Declaration

public Quaternion GetRotation(Animations.AnimationStream stream);

Parameters

stream The AnimationStream that holds the animated values.

Returns

Quaternion The rotation of the transform in world space.

Description

Gets the rotation of the transform in world space.