IC8 Python API:RLPy RIMocapManager

From Reallusion Wiki!
Jump to: navigation, search

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.