FMAR Controller representation Handles position, rotation, pointers, and button presses.
More...
|
| void | SendHapticImpulse (uint channel, float amplitude, float duration) |
| |
| | Controller () |
| |
| | Controller (string name, bool isRight, Func< Vector3 > positionFunc, Func< Quaternion > rotationFunc, Func< Vector3 > pointerPositionFunc, Func< Quaternion > pointerRotationFunc, Func< bool > pressedFunc, Func< bool > justPressedFunc, Func< Vector2 > joystickFunc, Func< bool > primaryButtonPressedFunc, Func< bool > secondaryButtonPressedFunc, Action< uint, float, float > sendHapticImpluseAction, GameObject debugObject=null) |
| |
| void | Draw () |
| |
FMAR Controller representation Handles position, rotation, pointers, and button presses.
◆ Controller() [1/2]
| FMAR.Core.Controller.Controller |
( |
| ) |
|
|
inline |
◆ Controller() [2/2]
| FMAR.Core.Controller.Controller |
( |
string | name, |
|
|
bool | isRight, |
|
|
Func< Vector3 > | positionFunc, |
|
|
Func< Quaternion > | rotationFunc, |
|
|
Func< Vector3 > | pointerPositionFunc, |
|
|
Func< Quaternion > | pointerRotationFunc, |
|
|
Func< bool > | pressedFunc, |
|
|
Func< bool > | justPressedFunc, |
|
|
Func< Vector2 > | joystickFunc, |
|
|
Func< bool > | primaryButtonPressedFunc, |
|
|
Func< bool > | secondaryButtonPressedFunc, |
|
|
Action< uint, float, float > | sendHapticImpluseAction, |
|
|
GameObject | debugObject = null ) |
|
inline |
◆ Draw()
| void FMAR.Core.Controller.Draw |
( |
| ) |
|
|
inline |
◆ SendHapticImpulse()
| void FMAR.Core.Controller.SendHapticImpulse |
( |
uint | channel, |
|
|
float | amplitude, |
|
|
float | duration ) |
|
inline |
◆ altPointerPositionFunc
| Func<Vector3> FMAR.Core.Controller.altPointerPositionFunc |
|
protected |
◆ altPointerRotationFunc
| Func<Quaternion> FMAR.Core.Controller.altPointerRotationFunc |
|
protected |
◆ debugObject
| GameObject FMAR.Core.Controller.debugObject |
|
protected |
◆ isRight
| bool FMAR.Core.Controller.isRight |
◆ joystickFunc
| Func<Vector2> FMAR.Core.Controller.joystickFunc |
|
protected |
◆ justPressedFunc
| Func<bool> FMAR.Core.Controller.justPressedFunc |
|
protected |
◆ pointerPositionFunc
| Func<Vector3> FMAR.Core.Controller.pointerPositionFunc |
|
protected |
◆ pointerRotationFunc
| Func<Quaternion> FMAR.Core.Controller.pointerRotationFunc |
|
protected |
◆ positionFunc
| Func<Vector3> FMAR.Core.Controller.positionFunc |
|
protected |
◆ pressedFunc
| Func<bool> FMAR.Core.Controller.pressedFunc |
|
protected |
◆ primaryButtonPressedFunc
| Func<bool> FMAR.Core.Controller.primaryButtonPressedFunc |
|
protected |
◆ rotationFunc
| Func<Quaternion> FMAR.Core.Controller.rotationFunc |
|
protected |
◆ secondaryButtonPressedFunc
| Func<bool> FMAR.Core.Controller.secondaryButtonPressedFunc |
|
protected |
◆ sendHapticImpluseAction
| Action<uint, float, float> FMAR.Core.Controller.sendHapticImpluseAction |
|
protected |
◆ AltPointerPosition
| Vector3 FMAR.Core.Controller.AltPointerPosition |
|
get |
◆ AltPointerRotation
| Quaternion FMAR.Core.Controller.AltPointerRotation |
|
get |
◆ Joystick
| Vector2 FMAR.Core.Controller.Joystick |
|
get |
◆ JustPressed
| bool FMAR.Core.Controller.JustPressed |
|
get |
◆ Name
| string FMAR.Core.Controller.Name |
|
getprotected set |
◆ PointerPosition
| Vector3 FMAR.Core.Controller.PointerPosition |
|
get |
◆ PointerRotation
| Quaternion FMAR.Core.Controller.PointerRotation |
|
get |
◆ Position
| Vector3 FMAR.Core.Controller.Position |
|
get |
◆ Pressed
| bool FMAR.Core.Controller.Pressed |
|
get |
◆ PrimaryButtonPressed
| bool FMAR.Core.Controller.PrimaryButtonPressed |
|
get |
◆ Rotation
| Quaternion FMAR.Core.Controller.Rotation |
|
get |
◆ SecondaryButtonPressed
| bool FMAR.Core.Controller.SecondaryButtonPressed |
|
get |
The documentation for this class was generated from the following file: