IC8 Python API:RLPy RIBuildingGeneratorObject

From Reallusion Wiki!
Jump to: navigation, search

Description

This class creates building objects and provides queries for their floors, units, and walls.

Constructor & Destructor

__init__ (self)

Initializes a new ri building generator object instance.

Member Functions

GenerateBuilding (kSettings, kInfo)

Generates a building from the supplied building settings and pack style.

Parameters

  • kSettings
  • kInfo

GetBuildingRoot (spObject)

Returns the building root associated with the supplied object.

Parameters

  • spObject

GetFloorByChild (spObject)

Returns the building floor that contains the supplied child object.

Parameters

  • spObject

GetUnitByChild (spObject)

Returns the building unit that contains the supplied child object.

Parameters

  • spObject

IsBuildingRoot (spObject)

Reports whether the supplied object is a building root.

Parameters

  • spObject

IsFloor (spObject)

Reports whether the supplied object is a building floor.

Parameters

  • spObject

IsUnit (spObject)

Reports whether the supplied object is a building unit.

Parameters

  • spObject

IsWall (spObject)

Reports whether the supplied object is a building wall.

Parameters

  • spObject

Properties

thisown

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