VoronoiTexture(Texture)
base classes — bpy_struct, ID, Texture
- class bpy.types.VoronoiTexture(Texture)
Procedural voronoi texture
- color_mode
INTENSITYIntensity – Only calculate intensity.POSITIONPosition – Color cells by position.POSITION_OUTLINEPosition and Outline – Use position plus an outline based on F2-F1.POSITION_OUTLINE_INTENSITYPosition, Outline, and Intensity – Multiply position and outline by intensity.
- Type:
enum in [
'INTENSITY','POSITION','POSITION_OUTLINE','POSITION_OUTLINE_INTENSITY'], default'INTENSITY'
- distance_metric
Algorithm used to calculate distance of sample points to feature points
DISTANCEActual Distance – sqrt(x*x+y*y+z*z).DISTANCE_SQUAREDDistance Squared – (x*x+y*y+z*z).MANHATTANManhattan – The length of the distance in axial directions.CHEBYCHEVChebychev – The length of the longest Axial journey.MINKOVSKY_HALFMinkowski 1/2 – Set Minkowski variable to 0.5.MINKOVSKY_FOURMinkowski 4 – Set Minkowski variable to 4.MINKOVSKYMinkowski – Use the Minkowski function to calculate distance (exponent value determines the shape of the boundaries).
- Type:
enum in [
'DISTANCE','DISTANCE_SQUARED','MANHATTAN','CHEBYCHEV','MINKOVSKY_HALF','MINKOVSKY_FOUR','MINKOVSKY'], default'DISTANCE'
- minkovsky_exponent
Minkowski exponent
- Type:
float in [0.01, 10], default 2.5
- nabla
Size of derivative offset used for calculating normal
- Type:
float in [0.001, 0.1], default 0.025
- noise_intensity
Scales the intensity of the noise
- Type:
float in [0.01, 10], default 1.0
- noise_scale
Scaling for noise input
- Type:
float in [0.0001, inf], default 0.25
- weight_1
Voronoi feature weight 1
- Type:
float in [-2, 2], default 1.0
- weight_2
Voronoi feature weight 2
- Type:
float in [-2, 2], default 0.0
- weight_3
Voronoi feature weight 3
- Type:
float in [-2, 2], default 0.0
- weight_4
Voronoi feature weight 4
- Type:
float in [-2, 2], default 0.0
- users_material
Materials that use this texture
- Type:
tuple of
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 of
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.
- Returns:
The RNA type or default when not found.
- Return type:
bpy.types.Structsubclass
- 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