#include <lib_instanceobject.h>
Multi-instance structure.
Public Member Functions | |
void | Clear () |
maxon::Result< void > | ExtractInfo (InstanceObject *obj) |
Public Attributes | |
BaseObject * | instancedObject |
maxon::BaseArray< Matrix > | instanceMatrices |
maxon::BaseArray< maxon::Color64 > | instanceColors |
maxon::BaseArray< Int32 > | instanceUniqueIPs |
void Clear | ( | ) |
Clear Stored Data.
maxon::Result<void> ExtractInfo | ( | InstanceObject * | obj | ) |
Extract all instance specific data for the specified InstanceObject. The InstanceObject must be in mutli-instance mode.
[in] | obj | Multi-instance object. |
BaseObject* instancedObject |
Pointer to the Object that is being instantiated. Only valid during object lifetime.
maxon::BaseArray<Matrix> instanceMatrices |
Global matrices, one for each instance.
maxon::BaseArray<maxon::Color64> instanceColors |
Color, one for each instance.
maxon::BaseArray<Int32> instanceUniqueIPs |
Unique IP, one for each instance.