FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.Core.CommonHandController Class Reference

FMAR Common Hand Controller representation, inherits from Controller class, adding hand data. More...

Inheritance diagram for FMAR.Core.CommonHandController:
FMAR.Core.Controller FMAR.Core.Tracker

Public Member Functions

 CommonHandController (string name, bool isRight, CommonHand commonHand)
 
- Public Member Functions inherited from FMAR.Core.Controller
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 ()
 

Properties

CommonHand Hand [get]
 
- Properties inherited from FMAR.Core.Controller
string Name [get, protected set]
 
Vector3 Position [get]
 
Quaternion Rotation [get]
 
Vector3 PointerPosition [get]
 
Quaternion PointerRotation [get]
 
Vector3 AltPointerPosition [get]
 
Quaternion AltPointerRotation [get]
 
bool Pressed [get]
 
bool JustPressed [get]
 
bool PrimaryButtonPressed [get]
 
bool SecondaryButtonPressed [get]
 
Vector2 Joystick [get]
 
- Properties inherited from FMAR.Core.Tracker

Additional Inherited Members

- Public Attributes inherited from FMAR.Core.Controller
bool isRight
 
- Protected Attributes inherited from FMAR.Core.Controller
Func< Vector3 > positionFunc
 
Func< Quaternion > rotationFunc
 
Func< Vector3 > pointerPositionFunc
 
Func< Quaternion > pointerRotationFunc
 
Func< Vector3 > altPointerPositionFunc
 
Func< Quaternion > altPointerRotationFunc
 
Func< bool > pressedFunc
 
Func< bool > justPressedFunc
 
Func< Vector2 > joystickFunc
 
Func< bool > primaryButtonPressedFunc
 
Func< bool > secondaryButtonPressedFunc
 
Action< uint, float, float > sendHapticImpluseAction
 
GameObject debugObject
 

Detailed Description

FMAR Common Hand Controller representation, inherits from Controller class, adding hand data.

Constructor & Destructor Documentation

◆ CommonHandController()

FMAR.Core.CommonHandController.CommonHandController ( string name,
bool isRight,
CommonHand commonHand )
inline

Property Documentation

◆ Hand

CommonHand FMAR.Core.CommonHandController.Hand
get

The documentation for this class was generated from the following file: