MetaBall(ID)¶
base classes — bpy_struct
, ID
- class bpy.types.MetaBall(ID)¶
Metaball data-block to define blobby surfaces
- elements¶
Metaball elements
- Type:
MetaBallElements
bpy_prop_collection
ofMetaElement
, (readonly)
- is_editmode¶
True when used in editmode
- Type:
boolean, default False, (readonly)
- materials¶
- Type:
IDMaterials
bpy_prop_collection
ofMaterial
, (readonly)
- render_resolution¶
Polygonization resolution in rendering
- Type:
float in [0.005, 10000], default 0.2
- resolution¶
Polygonization resolution in the 3D viewport
- Type:
float in [0.005, 10000], default 0.4
- texspace_location¶
Texture space location
- Type:
mathutils.Vector
of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
- texspace_size¶
Texture space size
- Type:
mathutils.Vector
of 3 items in [-inf, inf], default (1.0, 1.0, 1.0)
- threshold¶
Influence of metaball elements
- Type:
float in [0, 5], default 0.6
- update_method¶
Metaball edit update behavior
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:
enum in [‘UPDATE_ALWAYS’, ‘HALFRES’, ‘FAST’, ‘NEVER’], default ‘UPDATE_ALWAYS’
- use_auto_texspace¶
Adjust active object’s texture space automatically when transforming object
- Type:
boolean, default True
- transform(matrix)¶
Transform metaball elements by a matrix
- Parameters:
matrix (
mathutils.Matrix
of 4 * 4 items in [-inf, inf]) – Matrix
- update_gpu_tag()¶
update_gpu_tag
- classmethod bl_rna_get_subclass(id, default=None)¶
- Parameters:
id (str) – 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 (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type