VolumeGrid(bpy_struct)#

base class — bpy_struct

class bpy.types.VolumeGrid(bpy_struct)#

3D volume grid

channels#

Number of dimensions of the grid data type

Type:

int in [0, inf], default 0, (readonly)

data_type#

Data type of voxel values

Type:

enum in Volume Grid Data Type Items, default ‘UNKNOWN’, (readonly)

is_loaded#

Grid tree is loaded in memory

Type:

boolean, default False, (readonly)

matrix_object#

Transformation matrix from voxel index to object space

Type:

mathutils.Matrix of 4 * 4 items in [-inf, inf], default ((0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0)), (readonly)

name#

Volume grid name

Type:

string, default “”, (readonly, never None)

load()#

Load grid tree from file

Returns:

True if grid tree was successfully loaded

Return type:

boolean

unload()#

Unload grid tree and voxel data from memory, leaving only metadata

classmethod bl_rna_get_subclass(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties#

Inherited Functions#

References#