文档

Unity Engine

Unity Engine

SetRotation(AnimationStream, Quaternion)

Sets the rotation of the transform in world space.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Removed. SceneHandle is now read-only; it was problematic with the engine multithreading and determinism
public void SetRotation(AnimationStream stream, Quaternion rotation)

Parameters

The AnimationStream that manages this handle.

rotation

The rotation of the transform in world space.