About
A VolumeObject represents a volume (maxon::VolumeInterface) inside a Cinema 4D scene. Typically a VolumeObject is found in the cache of a generator like the VolumeBuilder. The VolumeObject class is defined in the lib_volumeobject.h header file.
A VolumeObject object is an instance of Ovolume.
if (cache == nullptr)
{
const maxon::Volume volume = volumeObject->
GetVolume();
}
PyObject * object
Definition: asdl.h:7
Definition: c4d_baseobject.h:248
BaseObject * GetCache()
Definition: c4d_baseobject.h:880
Bool IsInstanceOf(Int32 id) const
Definition: c4d_baselist.h:1437
Definition: lib_volumebuilder.h:43
Definition: lib_volumeobject.h:41
const maxon::VolumeInterface * GetVolume() const
Definition: string.h:1235
return OK
Definition: apibase.h:2747
#define Ovolume
Volume Object.
Definition: ge_prepass.h:1163
#define Ovolumebuilder
Volume Builder.
Definition: ge_prepass.h:1165
#define DiagnosticOutput(formatString,...)
Definition: debugdiagnostics.h:176
#define MAXON_SOURCE_LOCATION
Definition: memoryallocationbase.h:67
VolumeObject
A VolumeObject can be created with these functions:
The volume represented by the object is accessed with:
Further Reading