VolumeDisplaceModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.VolumeDisplaceModifier(Modifier)
strength

Strength of the displacement

Type

float in [-inf, inf], default 0.0

texture
Type

Texture

texture_map_mode
  • 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

enum in [‘LOCAL’, ‘GLOBAL’, ‘OBJECT’], default ‘LOCAL’

texture_map_object

Object to use for texture mapping

Type

Object

texture_mid_level

Subtracted from the texture color to get a displacement vector

Type

float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

texture_sample_radius

Smaller values result in better performance but might cut off the volume

Type

float in [0, inf], default 0.0

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