Struct ControllerTransform
To calculate controller transformation.
用作計算控制器的變換。
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
Namespace: Votanic.vXR.vGear
Assembly: Votanic.vXR.dll
Syntax
[Serializable]
public struct ControllerTransform
Fields
movement
Relative position can move.
可移動的相對位置。
Declaration
[Tooltip("Relative position can move.\n可移動的相對位置。")]
public Vector3 movement
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 |
objectDirection
Check transform change base on object direction, else base on controller direction.
以物件方向或控制器方向判斷 Transform 變化。
Declaration
[Tooltip("Check transform change base on object direction, else base on controller direction.\n以物件方向或控制器方向判斷 Transform 變化。")]
public bool objectDirection
Field Value
Type | Description |
---|---|
System.Boolean |
rotation
Relative euler angles can rotate.
可旋轉的相對角度。
Declaration
[Tooltip("Relative euler angles can rotate.\n可旋轉的相對角度。")]
public Vector3 rotation
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 |