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

TransformStreamHandle.SetRotation

Declaration

public void SetRotation(Animations.AnimationStream stream, Quaternion rotation);

Parameters

stream The AnimationStream that holds the animated values.
rotation The rotation of the transform in world space.

Description

Sets the rotation of the transform in world space.