BlendDataTextures(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.
BlendDataTextures
(bpy_struct)¶ Collection of textures
-
new
(name, type)¶ Add a new texture to the main database
Parameters: - name (string, (never None)) – New name for the data-block
- type (enum in ['NONE', 'BLEND', 'CLOUDS', 'DISTORTED_NOISE', 'IMAGE', 'MAGIC', 'MARBLE', 'MUSGRAVE', 'NOISE', 'STUCCI', 'VORONOI', 'WOOD']) –
Type, The type of texture to add
NONE
None.BLEND
Blend, Procedural - create a ramp texture.CLOUDS
Clouds, Procedural - create a cloud-like fractal noise texture.DISTORTED_NOISE
Distorted Noise, Procedural - noise texture distorted by two noise algorithms.IMAGE
Image or Movie, Allow for images or movies to be used as textures.MAGIC
Magic, Procedural - color texture based on trigonometric functions.MARBLE
Marble, Procedural - marble-like noise texture with wave generated bands.MUSGRAVE
Musgrave, Procedural - highly flexible fractal noise texture.NOISE
Noise, Procedural - random noise, gives a different result every time, for every frame, for every pixel.STUCCI
Stucci, Procedural - create a fractal noise texture.VORONOI
Voronoi, Procedural - create cell-like patterns based on Worley noise.WOOD
Wood, Procedural - wave generated bands or rings, with optional noise.
Returns: New texture data-block
Return type:
-
remove
(texture, do_unlink=True, do_id_user=True, do_ui_user=True)¶ Remove a texture from the current blendfile
Parameters: - texture (
Texture
, (never None)) – Texture to remove - do_unlink (boolean, (optional)) – Unlink all usages of this texture before deleting it
- do_id_user (boolean, (optional)) – Decrement user counter of all datablocks used by this texture
- do_ui_user (boolean, (optional)) – Make sure interface does not reference this texture
- texture (
-
tag
(value)¶ tag
Parameters: value (boolean) – Value
-
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
References