IC8 Python API:RLPy RIDeviceBase

From Reallusion Wiki!
Jump to: navigation, search

Description

This is the base class of all device class.

Constructor & Destructor

__init__ (self, *args, **kwargs)

Initializes a new ri device base instance.

Parameters

  • args
  • kwargs

Member Functions

AddAvatar (self, spAvatar)

Add avatar.

Parameters

  • spAvatar

AddAvatars (self, kAvatarList)

Add avatar list.

Parameters

  • kAvatarList

GetAvatarAt (self, nIndex)

Get avatar by index.

Parameters

  • nIndex

GetAvatarCount (self)

Get avatar count.

GetDeviceID (self)

Get device ID.

GetDeviceType (self)

Get device type.

IsEnable (self, spAvatar)

Get device status.

Parameters

  • spAvatar

RemoveAvatar (self, spAvatar)

Remove avatar.

Parameters

  • spAvatar

SetEnable (self, spAvatar, bEnable)

Set device status.

Parameters

  • spAvatar
  • bEnable

Properties

thisown

Indicates whether this SWIG proxy owns the underlying C++ object.