Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

TransformSceneHandle.SetRotation

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

Parameters

streamThe AnimationStream that manage this handle.
rotationThe rotation of the transform in world space.

Description

Sets the rotation of the transform in world space.

Did you find this page useful? Please give it a rating: