Texture(ID)¶
base classes — bpy_struct, ID
subclasses —
BlendTexture, CloudsTexture, DistortedNoiseTexture, ImageTexture, MagicTexture, MarbleTexture, MusgraveTexture, NoiseTexture, StucciTexture, VoronoiTexture, WoodTexture
-
class
bpy.types.Texture(ID)¶ Texture data-block used by materials, lights, worlds and brushes
-
contrast¶ Adjust the contrast of the texture
Type: float in [0, 5], default 1.0
-
factor_blue¶ Type: float in [0, 2], default 1.0
-
factor_green¶ Type: float in [0, 2], default 1.0
-
factor_red¶ Type: float in [0, 2], default 1.0
-
intensity¶ Adjust the brightness of the texture
Type: float in [0, 2], default 1.0
-
saturation¶ Adjust the saturation of colors in the texture
Type: float in [0, 2], default 1.0
-
type¶ 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.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.STUCCIStucci, Procedural - create a fractal noise texture.VORONOIVoronoi, Procedural - create cell-like patterns based on Worley noise.WOODWood, Procedural - wave generated bands or rings, with optional noise.
Type: enum in [‘NONE’, ‘BLEND’, ‘CLOUDS’, ‘DISTORTED_NOISE’, ‘IMAGE’, ‘MAGIC’, ‘MARBLE’, ‘MUSGRAVE’, ‘NOISE’, ‘STUCCI’, ‘VORONOI’, ‘WOOD’], default ‘IMAGE’
-
use_clamp¶ Set negative texture RGB and intensity values to zero, for some uses like displacement this option can be disabled to get the full range
Type: boolean, default False
-
use_color_ramp¶ Toggle color ramp operations
Type: boolean, default False
-
use_nodes¶ Make this a node-based texture
Type: boolean, default False
-
use_preview_alpha¶ Show Alpha in Preview Render
Type: boolean, default False
-
users_material¶ Materials that use this texture (readonly)
-
users_object_modifier¶ Object modifiers that use this texture (readonly)
-
evaluate(value)¶ Evaluate the texture at the coordinates given
Returns: Result Return type: float array of 4 items in [-inf, inf]
-
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