Detailed Description
Use these functions to determine how many buttons are on a tracker target and determine the button state.
Function Descriptions
int ZSCore:: GetNumTrackerTargetButtons |
( |
TrackerTargetType |
trackerTargetType
|
) |
[inline]
|
Get the number of buttons associated with a specified tracker target.
- Parameters:
-
trackerTargetType |
The type of the tracker target. |
- Returns:
- The number of buttons contained by a tracker target.
bool ZSCore:: IsTrackerTargetButtonPressed |
( |
TrackerTargetType |
trackerTargetType, |
|
|
int |
buttonId |
|
) |
|
[inline]
|
Check whether a specified target button is pressed.
- Parameters:
-
trackerTargetType |
The type of tracker target. |
buttonId |
The ID of the button. |
- Returns:
- True if the button is pressed. False if not.