言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Quaternion.identity

public static var identity: Quaternion;

Description

The identity rotation (Read Only). This quaternion corresponds to "no rotation": the object.

Is perfectly aligned with the world or parent axes.

	transform.rotation = Quaternion.identity;