VolumeDisplaceModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.VolumeDisplaceModifier(Modifier)
strength

Strength of the displacement (in [-inf, inf], default 0.0)

Type:

float

texture
Type:

Texture

texture_map_mode

(default 'LOCAL')

  • LOCAL Local – Use the local coordinate system for the texture coordinates.

  • GLOBAL Global – Use the global coordinate system for the texture coordinates.

  • OBJECT Object – Use the linked object’s local coordinate system for the texture coordinates.

Type:

Literal[‘LOCAL’, ‘GLOBAL’, ‘OBJECT’]

texture_map_object

Object to use for texture mapping

Type:

Object

texture_mid_level

Subtracted from the texture color to get a displacement vector (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))

Type:

mathutils.Vector

texture_sample_radius

Smaller values result in better performance but might cut off the volume (in [0, inf], default 0.0)

Type:

float

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