BlendDataTextures(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.BlendDataTextures(bpy_struct)¶ Collection of groups
-
is_updated¶ Type: boolean, default False, (readonly)
-
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', 'ENVIRONMENT_MAP', 'IMAGE', 'MAGIC', 'MARBLE', 'MUSGRAVE', 'NOISE', 'OCEAN', 'POINT_DENSITY', 'STUCCI', 'VORONOI', 'VOXEL_DATA', 'WOOD']) –
Type, The type of texture to add
NONENone.BLENDBlend, Procedural - create a ramp texture.CLOUDSClouds, Procedural - create a cloud-like fractal noise texture.DISTORTED_NOISEDistorted Noise, Procedural - noise texture distorted by two noise algorithms.ENVIRONMENT_MAPEnvironment Map, Create a render of the environment mapped to a texture.IMAGEImage or Movie, Allow for images or movies to be used as textures.MAGICMagic, Procedural - color texture based on trigonometric functions.MARBLEMarble, Procedural - marble-like noise texture with wave generated bands.MUSGRAVEMusgrave, Procedural - highly flexible fractal noise texture.NOISENoise, Procedural - random noise, gives a different result every time, for every frame, for every pixel.OCEANOcean, Use a texture generated by an Ocean modifier.POINT_DENSITYPoint Density.STUCCIStucci, Procedural - create a fractal noise texture.VORONOIVoronoi, Procedural - create cell-like patterns based on Worley noise.VOXEL_DATAVoxel Data, Create a 3D texture based on volumetric data.WOODWood, 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.Structsubclass
-
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