c4d.modules.volume.VolumeObject

New in version R20.

The volume object class of type Ovolume.

Inheritance

Members

VolumeObject.__init__()

Creates a VolumeObject.

Return type:c4d.modules.volume.VolumeObject
Returns:A VolumeObject.
VolumeObject.GetGridType()

Returns the grid type.

Return type:int
Returns:The grid type:
GRIDTYPE_NONE None.
GRIDTYPE_FLOAT 32-bit float.
GRIDTYPE_DOUBLE 64-bit float.
GRIDTYPE_INT32 32-bit integer.
GRIDTYPE_INT64 64-bit integer.
GRIDTYPE_INTVECTOR32 32-bit integer vector.
GRIDTYPE_VECTOR32 32-bit vector.
GRIDTYPE_VECTOR64 64-bit vector.
GRIDTYPE_STRING String.
GRIDTYPE_BOOLEAN Bool.
VolumeObject.GetGridClass()

Returns the grid class.

Return type:int
Returns:The grid class:
GRIDCLASSNONE None.
GRIDCLASSSDF SDF.
GRIDCLASSFOG Fog.
GRIDCLASSSTAGGERED Staggered.
GRIDCLASSUNKNOWN Unknow.
VolumeObject.GetVolume()

Returns the core volume object.

Return type:maxon.VolumeInterface
Returns:The core volume object.
VolumeObject.SetVolume(volume)

Sets the core volume object.

Parameters:volume (maxon.VolumeInterface) – The core volume object to set.