RazerHydraFrame
Engine/source/platform/input/razerHydra/razerHydraFrame.h
Classes:
Private Types
Parent
Protected Static Attributes
Protected Attributes
mControllerData [RazerHydraConstants::MaxControllers]
bool
Public Functions
copyFromFrame(const sixenseAllControllerData & frame, const F32 & maxAxisRadius)
Copy a Leap Frame into our data structures.
bool
getButton1(U32 index)
bool
getButton2(U32 index)
bool
getButton3(U32 index)
bool
getButton4(U32 index)
bool
getEnabled(U32 index)
getRotAxis(U32 index)
getRotQuat(U32 index)
getSequenceNum(U32 index)
bool
getShoulder(U32 index)
getThumbStick(U32 Index)
getTrigger(U32 index)
bool
bool
onAdd()
Called when the object is added to the sim.
Public Static Functions
Detailed Description
Private Types
typedef SimObject Parent
Protected Static Attributes
U32 smNextInternalFrameId
Protected Attributes
ControllerData mControllerData [RazerHydraConstants::MaxControllers]
U32 mFrameInternalId
S32 mFrameRealTime
S32 mFrameSimTime
bool mFrameValid
Public Functions
RazerHydraFrame()
~RazerHydraFrame()
clear()
copyFromFrame(const sixenseAllControllerData & frame, const F32 & maxAxisRadius)
Copy a Leap Frame into our data structures.
DECLARE_CONOBJECT(RazerHydraFrame )
getButton1(U32 index)
getButton2(U32 index)
getButton3(U32 index)
getButton4(U32 index)
getDocked(U32 index)
getEnabled(U32 index)
getFrameInternalId()
getFrameRealTime()
getFrameSimTime()
getPos(U32 index)
getRawPos(U32 index)
getRot(U32 index)
getRotAxis(U32 index)
getRotQuat(U32 index)
getSequenceNum(U32 index)
getShoulder(U32 index)
getStart(U32 index)
getThumb(U32 index)
getThumbStick(U32 Index)
getTrigger(U32 index)
isFrameValid()
onAdd()
Reimplemented from: SimObject
onRemove()
Reimplemented from: SimObject