ShaderNodeTexVoronoi(ShaderNode)
base classes — bpy_struct, Node, NodeInternal, ShaderNode
- class bpy.types.ShaderNodeTexVoronoi(ShaderNode)
Generate Worley noise based on the distance to random points. Typically used to generate textures such as stones, water, or biological cells
- color_mapping
Color mapping settings (readonly, never None)
- Type:
- distance
The distance metric used to compute the texture (default
'EUCLIDEAN')EUCLIDEANEuclidean – Euclidean distance.MANHATTANManhattan – Manhattan distance.CHEBYCHEVChebychev – Chebychev distance.MINKOWSKIMinkowski – Minkowski distance.
- Type:
Literal[‘EUCLIDEAN’, ‘MANHATTAN’, ‘CHEBYCHEV’, ‘MINKOWSKI’]
- feature
The Voronoi feature that the node will compute (default
'F1')F1F1 – Computes the distance to the closest point as well as its position and color.F2F2 – Computes the distance to the second closest point as well as its position and color.SMOOTH_F1Smooth F1 – Smoothed version of F1. Weighted sum of neighbor voronoi cells..DISTANCE_TO_EDGEDistance to Edge – Computes the distance to the edge of the voronoi cell.N_SPHERE_RADIUSN-Sphere Radius – Computes the radius of the n-sphere inscribed in the voronoi cell.
- Type:
Literal[‘F1’, ‘F2’, ‘SMOOTH_F1’, ‘DISTANCE_TO_EDGE’, ‘N_SPHERE_RADIUS’]
- normalize
Normalize output Distance to 0.0 to 1.0 range (default False)
- Type:
bool
- texture_mapping
Texture coordinate mapping settings (readonly, never None)
- Type:
- voronoi_dimensions
Number of dimensions to output noise for (default
'1D')1D1D – Use the scalar value W as input.2D2D – Use the 2D vector (X, Y) as input. The Z component is ignored..3D3D – Use the 3D vector (X, Y, Z) as input.4D4D – Use the 4D vector (X, Y, Z, W) as input.
- Type:
Literal[‘1D’, ‘2D’, ‘3D’, ‘4D’]
- classmethod is_registered_node_type()
True if a registered node type
- Returns:
Result
- Return type:
bool
- classmethod input_template(index)
Input socket template
- Parameters:
index (int) – Index, (in [0, inf])
- Returns:
result
- Return type:
- classmethod output_template(index)
Output socket template
- Parameters:
index (int) – Index, (in [0, inf])
- Returns:
result
- Return type:
- 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:
- 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
|