Torque3D Documentation / _generateds / RazerHydraFrame

RazerHydraFrame

Engine/source/platform/input/razerHydra/razerHydraFrame.h

More...

Classes:

Private Types

Parent 

Protected Static Attributes

Protected Attributes

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
getDocked(U32 index)
bool
getEnabled(U32 index)
bool
bool
getStart(U32 index)
bool
getThumb(U32 index)
bool
bool

Called when the object is added to the sim.

Called when the object is removed from 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

Public Static Functions

initPersistFields()