Detailed Description
- See also:
- Class Control,
Class MCDeviceBinding.
- Description:
- This class is available in release 2.0 and later only.
If a motion capture controller has one of the following class IDs,
then it can be cast into this class to give access to the
controller's parameters.
POS_MOTION_CLASS_ID
ROT_MOTION_CLASS_ID
SCALE_MOTION_CLASS_ID
FLOAT_MOTION_CLASS_ID
POINT3_MOTION_CLASS_ID
Note that normally a developer will not call these methods.
All methods of this class are implemented by the system.
#include <mcapdev.h>
List of all
members.
Member Function Documentation
virtual BOOL IsLiveOn |
( |
|
) |
[pure virtual] |
virtual BOOL IsRecordOn |
( |
|
) |
[pure virtual] |
virtual int NumDeviceBindings |
( |
|
) |
[pure virtual] |
- Parameters:
- int i
Specifies which device binding to return.
virtual void SetDeviceBinding |
( |
int |
i, |
|
|
MCDeviceBinding * |
b |
|
) |
|
[pure virtual] |
- Parameters:
- int i
Specifies which device binding to set.
MCDeviceBinding *b
Points to the device binding to set.
virtual void GetValueLive |
( |
TimeValue |
t, |
|
|
void * |
val, |
|
|
GetSetMethod |
method |
|
) |
|
[pure virtual] |
- Parameters:
- TimeValue t
Specifies the time to update the value.
void *val
Points to the value that is updated. See Control::GetValue() for
the data types returned here.
GetSetMethod method
One of the following values:
CTRL_RELATIVE
Indicates the plug-in should apply the value of the controller to
*val.
CTRL_ABSOLUTE
Indicates the controller should simply store its value in
*val.
IMCControl IMCControl IMCControl
IMCControl IMCControl IMCControl IMCControl IMCControl IMCControl
IMCControl
IMCControl IMCControl IMCControl
IMCControl IMCControl IMCControl IMCControl IMCControl IMCControl
IMCControl