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

TransformStreamHandle.SetLocalRotation

Declaration

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

Parameters

stream The AnimationStream that holds the animated values.
rotation The rotation of the transform relative to the parent.

Description

Sets the rotation of the transform relative to the parent.