IC8 Python API:RLPy RIMocapManager
From Reallusion Wiki!
Contents
- 1 Description
- 2 Constructor & Destructor
- 3 Member Functions
- 3.1 AddBodyDevice (self, strDeviceID)
- 3.2 AddFacialDevice (self, strDeviceID)
- 3.3 AddHandDevice (self, strDeviceID)
- 3.4 GetDevice (self, strDeviceID)
- 3.5 IsDeviceExist (self, strDeviceID)
- 3.6 IsRunning (self)
- 3.7 MocapState (self)
- 3.8 RemoveAllDevices (self)
- 3.9 RemoveDevice (self, strDeviceID)
- 3.10 Start (self, *args)
- 3.11 Stop (self)
- 4 Properties
Description
This class is used to manager all motion capture devices. Provide moethods to add a new device(Facial/Body/Hand), retrieve device, remove device and control the motion capture status(Preview/Record/Stop).
Constructor & Destructor
__init__ (self, *args, **kwargs)
Initializes a new ri mocap manager instance.
Parameters
- args
- kwargs
Member Functions
AddBodyDevice (self, strDeviceID)
Add body device.
Parameters
- strDeviceID
AddFacialDevice (self, strDeviceID)
Add facial device.
Parameters
- strDeviceID
AddHandDevice (self, strDeviceID)
Add hand device.
Parameters
- strDeviceID
GetDevice (self, strDeviceID)
Get device.
Parameters
- strDeviceID
IsDeviceExist (self, strDeviceID)
Is device exist.
Parameters
- strDeviceID
IsRunning (self)
Get the current state is mocaping or not.
MocapState (self)
Get the current mocap state.
RemoveAllDevices (self)
Remove all devices.
RemoveDevice (self, strDeviceID)
Remove device.
Parameters
- strDeviceID
Start (self, *args)
Start preview/record state.
Parameters
- args
Stop (self)
Stop preview/record.
Properties
thisown
Indicates whether this SWIG proxy owns the underlying C++ object.