TouchArea device state.
struct TouchAreaState { MU8 bPressed; MODAVECTOR3 PositionRel; M32 ZoneIndex; MU32 Time; MU32 PressedCount; MU8 Reserved[26]; };
modacommons.h
Members |
Description |
MU8 bPressed; |
Indicates if the touch area is in the 'pressed' state (bPressed=1) or not (bPressed=0) |
MODAVECTOR3 PositionRel; |
3D position of the latest contact point or mouse click (in geometry's axes) that have changed the bPressed state to 1. |
M32 ZoneIndex; |
Reserved for future use. |
MU32 Time; |
Time (ms) of the latest bPressed=1 state. The time is updated at each bPressed=1 front. |
MU32 PressedCount; |
Number of times bPressed state changed from 0 to 1. |
MU8 Reserved[26]; |
Reserved for future use. |
Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
|
What do you think about this topic? Send feedback!
|