IC8 Python API:RLPy RIUnitObject
From Reallusion Wiki!
Contents
- 1 Description
- 2 Constructor & Destructor
- 3 Member Functions
- 4 Properties
Description
This class represents a unit in a generated building and provides access to its walls.
Constructor & Destructor
__init__ (self, *args, **kwargs)
Initializes a new ri unit object instance.
Parameters
- args
- kwargs
Member Functions
BuildWall (self, *args)
Builds a wall for this building unit.
Parameters
- args
GetActivatedPosition (self)
Returns the active position of this building unit.
GetPositionOfWall (self, spWall)
Returns the position of a wall in this building unit.
Parameters
- spWall
GetWall (self, ePos)
Returns the wall at the specified position in this building unit.
Parameters
- ePos
GetWalls (self)
Returns the walls belonging to this building unit.
RebuildWall (self, *args)
Rebuilds the specified wall in this building unit.
Parameters
- args
RemoveWall (self, spWall)
Removes a wall from this building unit.
Parameters
- spWall
SetWallActive (self, ePos, bActive)
Sets whether the specified wall is active.
Parameters
- ePos
- bActive
Properties
thisown
Indicates whether this SWIG proxy owns the underlying C++ object.