FirstVR  1.0
FVR Unity API
公開変数類 | プロパティ | 全メンバ一覧
FVRlib.FVROrientationPanel クラス
FVRlib.FVROrientationPanel の継承関係図

公開変数類

int x
 X軸方向での向きを示します。 (-1 = left, 0 = center, 1 = right)
 
int y
 Y軸方向での向きを示します。 (-1 = down, 0 = center, 1 = up)
 
int z
 Z軸方向での向きを示します。 (-1 = front, 0 = center, 1 = back)
 
int horID
 Horizontal IDが示す値は次の通りです。 (0:back, 1:back-left, 2:left, 3:left-front, 4:front, 5:front-right, 6:right, 7:right-back)
 
int verID
 Vertical IDが示す値は次の通りです。 (0:down, 1:down-mid, 2:mid, 3:mid-up, 4:up)
 

プロパティ

string orientation [get]
 このインスタンスが表すオリエンテーションのプロパティです。形式: ("Z axis orientation"_"Y axis orientation"_"X axis orientation") 例: "front_up_left"
 

詳解

このクラスは、リファレンスオブジェクトを囲むように26のインスタンスがあります。 各パネルは向きを表します。 これは、FVRConnectionのarmOrientationプロパティを設定するためとスワイプとシェイクジェスチャーの識別ロジックの為に利用されます。


このクラス詳解は次のファイルから抽出されました: