MetaBall(ID)

base classes — bpy_struct, ID

class bpy.types.MetaBall(ID)

Metaball data-block to define blobby surfaces

animation_data

Animation data for this data-block (readonly)

Type:

AnimData

elements

Metaball elements (default None, readonly)

Type:

MetaBallElements[MetaElement]

is_editmode

True when used in editmode (default False, readonly)

Type:

bool

materials

(default None, readonly)

Type:

IDMaterials[Material]

render_resolution

Polygonization resolution in rendering (in [0.005, 10000], default 0.2)

Type:

float

resolution

Polygonization resolution in the 3D viewport (in [0.005, 10000], default 0.4)

Type:

float

texspace_location

Texture space location (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))

Type:

mathutils.Vector

texspace_size

Texture space size (array of 3 items, in [-inf, inf], default (1.0, 1.0, 1.0))

Type:

mathutils.Vector

threshold

Influence of metaball elements (in [0, 5], default 0.6)

Type:

float

update_method

Metaball edit update behavior (default 'UPDATE_ALWAYS')

  • UPDATE_ALWAYS Always – While editing, update metaball always.

  • HALFRES Half – While editing, update metaball in half resolution.

  • FAST Fast – While editing, update metaball without polygonization.

  • NEVER Never – While editing, don’t update metaball at all.

Type:

Literal[‘UPDATE_ALWAYS’, ‘HALFRES’, ‘FAST’, ‘NEVER’]

use_auto_texspace

Adjust active object’s texture space automatically when transforming object (default True)

Type:

bool

transform(matrix)

Transform metaball elements by a matrix

Parameters:

matrix (mathutils.Matrix) – Matrix (multi-dimensional array of 4 * 4 items, in [-inf, inf])

update_gpu_tag()

update_gpu_tag

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References