|
Public Member Functions |
| int | AddInstance (int nObjectIndex=0) |
| | Add an instance.
|
| None | ClearInstances () |
| | Clear the ecosystem, by deleting all instances but one.
|
| None | DeleteInstance (int nIndex) |
| | Delete an instance.
|
| int | GetClosestInstance (float x=0, float y=0, float z=0) |
| | Get the closest instance from the given point.
|
| int | GetInstanceCount () |
| | Get the number of instances.
|
| str | GetInstanceFilename (int nIndex) |
| | Get the filename of a given instance of the ecosystem.
|
| tuple_of_floats_x_y_z | GetInstancePosition (int nIndex) |
| | Get the position of a given instance.
|
| tuple_of_floats_x_y_z | GetInstanceRotation (int nIndex) |
| | Get the given instance rotation angles.
|
| tuple_of_floats_x_y_z | GetInstanceScale (int nIndex) |
| | Get the given instance scale.
|
| array_of_floats | GetInstanceTransformation (int nIndex) |
| | Get the transformation matrix of a given instance.
|
| None | MoveInstance (int nIndex, float x=10, float y=10, float z=10) |
| | Move a specified instance.
|
| None | MoveInstanceV (int nIndex, tuple_of_floats_x_y_z vTranslate) |
| | Move a specified instance.
|
| None | SetInstancePosition (int nIndex, float x=0, float y=0, float z=0) |
| | Set the position of a given instance.
|
| None | SetInstancePositionV (int nIndex, tuple_of_floats_x_y_z vPosition) |
| | Set the position of a given instance, using a vector.
|
| None | SetInstanceRotation (int nIndex, float x, float y, float z) |
| | Set the given instance rotation angles.
|
| None | SetInstanceRotationV (int nIndex, tuple_of_floats_x_y_z vAngles) |
| | Set the given instance rotation angles, using a vector.
|
| None | SetInstanceScale (int nIndex, float x, float y, float z) |
| | Set the given instance scale.
|
| None | SetInstanceScaleV (int nIndex, tuple_of_floats_x_y_z vScale) |
| | Set the given instance scale, using a vector.
|
| None | SetInstanceTransformation (int nIndex, array_of_floats transformation) |
| | Set the given instance transformation matrix.
|