VoronoiTexture(Texture)

base classes — bpy_struct, ID, Texture

class bpy.types.VoronoiTexture(Texture)

Procedural voronoi texture

color_mode

(default 'INTENSITY')

  • INTENSITY Intensity – Only calculate intensity.

  • POSITION Position – Color cells by position.

  • POSITION_OUTLINE Position and Outline – Use position plus an outline based on F2-F1.

  • POSITION_OUTLINE_INTENSITY Position, Outline, and Intensity – Multiply position and outline by intensity.

Type:

Literal[‘INTENSITY’, ‘POSITION’, ‘POSITION_OUTLINE’, ‘POSITION_OUTLINE_INTENSITY’]

distance_metric

Algorithm used to calculate distance of sample points to feature points (default 'DISTANCE')

  • DISTANCE Actual Distance – sqrt(x*x+y*y+z*z).

  • DISTANCE_SQUARED Distance Squared – (x*x+y*y+z*z).

  • MANHATTAN Manhattan – The length of the distance in axial directions.

  • CHEBYCHEV Chebychev – The length of the longest Axial journey.

  • MINKOVSKY_HALF Minkowski 1/2 – Set Minkowski variable to 0.5.

  • MINKOVSKY_FOUR Minkowski 4 – Set Minkowski variable to 4.

  • MINKOVSKY Minkowski – Use the Minkowski function to calculate distance (exponent value determines the shape of the boundaries).

Type:

Literal[‘DISTANCE’, ‘DISTANCE_SQUARED’, ‘MANHATTAN’, ‘CHEBYCHEV’, ‘MINKOVSKY_HALF’, ‘MINKOVSKY_FOUR’, ‘MINKOVSKY’]

minkovsky_exponent

Minkowski exponent (in [0.01, 10], default 2.5)

Type:

float

nabla

Size of derivative offset used for calculating normal (in [0.001, 0.1], default 0.025)

Type:

float

noise_intensity

Scales the intensity of the noise (in [0.01, 10], default 1.0)

Type:

float

noise_scale

Scaling for noise input (in [0.0001, inf], default 0.25)

Type:

float

weight_1

Voronoi feature weight 1 (in [-2, 2], default 1.0)

Type:

float

weight_2

Voronoi feature weight 2 (in [-2, 2], default 0.0)

Type:

float

weight_3

Voronoi feature weight 3 (in [-2, 2], default 0.0)

Type:

float

weight_4

Voronoi feature weight 4 (in [-2, 2], default 0.0)

Type:

float

users_material

Materials that use this texture

Type:

tuple[Material, …]

Note

Takes O(len(bpy.data.materials) * len(material.texture_slots)) time.

(readonly)

users_object_modifier

Object modifiers that use this texture

Type:

tuple[Object, …]

Note

Takes O(len(bpy.data.objects) * len(obj.modifiers)) time.

(readonly)

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