MaterialTextureSlot(TextureSlot)
base classes — bpy_struct, TextureSlot
-
class bpy.types.MaterialTextureSlot(TextureSlot)
Texture slot for textures in a Material datablock
-
alpha_factor
Amount texture affects alpha
Type : | float in [-inf, inf], default 0.0 |
-
ambient_factor
Amount texture affects ambient
Type : | float in [-inf, inf], default 0.0 |
-
bump_method
Method to use for bump mapping
Type : | enum in [‘BUMP_ORIGINAL’, ‘BUMP_COMPATIBLE’, ‘BUMP_DEFAULT’, ‘BUMP_BEST_QUALITY’], default ‘BUMP_ORIGINAL’ |
-
bump_objectspace
Space to apply bump mapping in
Type : | enum in [‘BUMP_VIEWSPACE’, ‘BUMP_OBJECTSPACE’, ‘BUMP_TEXTURESPACE’], default ‘BUMP_VIEWSPACE’ |
-
density_factor
Amount texture affects density
Type : | float in [-inf, inf], default 0.0 |
-
diffuse_color_factor
Amount texture affects diffuse color
Type : | float in [-inf, inf], default 0.0 |
-
diffuse_factor
Amount texture affects diffuse reflectivity
Type : | float in [-inf, inf], default 0.0 |
-
displacement_factor
Amount texture displaces the surface
Type : | float in [-inf, inf], default 0.0 |
-
emission_color_factor
Amount texture affects emission color
Type : | float in [-inf, inf], default 0.0 |
-
emission_factor
Amount texture affects emission
Type : | float in [-inf, inf], default 0.0 |
-
emit_factor
Amount texture affects emission
Type : | float in [-inf, inf], default 0.0 |
-
hardness_factor
Amount texture affects hardness
Type : | float in [-inf, inf], default 0.0 |
-
mapping
- FLAT Flat, Maps X and Y coordinates directly.
- CUBE Cube, Maps using the normal vector.
- TUBE Tube, Maps with Z as central axis.
- SPHERE Sphere, Maps with Z as central axis.
Type : | enum in [‘FLAT’, ‘CUBE’, ‘TUBE’, ‘SPHERE’], default ‘FLAT’ |
-
mapping_x
Type : | enum in [‘NONE’, ‘X’, ‘Y’, ‘Z’], default ‘NONE’ |
-
mapping_y
Type : | enum in [‘NONE’, ‘X’, ‘Y’, ‘Z’], default ‘NONE’ |
-
mapping_z
Type : | enum in [‘NONE’, ‘X’, ‘Y’, ‘Z’], default ‘NONE’ |
-
mirror_factor
Amount texture affects mirror color
Type : | float in [-inf, inf], default 0.0 |
-
normal_factor
Amount texture affects normal values
Type : | float in [-inf, inf], default 0.0 |
-
normal_map_space
Sets space of normal map image
Type : | enum in [‘CAMERA’, ‘WORLD’, ‘OBJECT’, ‘TANGENT’], default ‘CAMERA’ |
-
object
Object to use for mapping with Object texture coordinates
-
raymir_factor
Amount texture affects ray mirror
Type : | float in [-inf, inf], default 0.0 |
-
reflection_color_factor
Amount texture affects color of out-scattered light
Type : | float in [-inf, inf], default 0.0 |
-
reflection_factor
Amount texture affects brightness of out-scattered light
Type : | float in [-inf, inf], default 0.0 |
-
scattering_factor
Amount texture affects scattering
Type : | float in [-inf, inf], default 0.0 |
-
specular_color_factor
Amount texture affects specular color
Type : | float in [-inf, inf], default 0.0 |
-
specular_factor
Amount texture affects specular reflectivity
Type : | float in [-inf, inf], default 0.0 |
-
texture_coords
- GLOBAL Global, Uses global coordinates for the texture coordinates.
- OBJECT Object, Uses linked object’s coordinates for texture coordinates.
- UV UV, Uses UV coordinates for texture coordinates.
- ORCO Generated, Uses the original undeformed coordinates of the object.
- STRAND Strand / Particle, Uses normalized strand texture coordinate (1D) or particle age (X) and trail position (Y).
- STICKY Sticky, Uses mesh’s sticky coordinates for the texture coordinates.
- WINDOW Window, Uses screen coordinates as texture coordinates.
- NORMAL Normal, Uses normal vector as texture coordinates.
- REFLECTION Reflection, Uses reflection vector as texture coordinates.
- STRESS Stress, Uses the difference of edge lengths compared to original coordinates of the mesh.
- TANGENT Tangent, Uses the optional tangent vector as texture coordinates.
Type : | enum in [‘GLOBAL’, ‘OBJECT’, ‘UV’, ‘ORCO’, ‘STRAND’, ‘STICKY’, ‘WINDOW’, ‘NORMAL’, ‘REFLECTION’, ‘STRESS’, ‘TANGENT’], default ‘GLOBAL’ |
-
translucency_factor
Amount texture affects translucency
Type : | float in [-inf, inf], default 0.0 |
-
transmission_color_factor
Amount texture affects result color after light has been scattered/absorbed
Type : | float in [-inf, inf], default 0.0 |
-
use
Enable this material texture slot
Type : | boolean, default False |
-
use_from_dupli
Dupli’s instanced from verts, faces or particles, inherit texture coordinate from their parent
Type : | boolean, default False |
-
use_from_original
Dupli’s derive their object coordinates from the original objects transformation
Type : | boolean, default False |
-
use_map_alpha
Causes the texture to affect the alpha value
Type : | boolean, default False |
-
use_map_ambient
Causes the texture to affect the value of ambient
Type : | boolean, default False |
-
use_map_color_diffuse
Causes the texture to affect basic color of the material
Type : | boolean, default False |
-
use_map_color_emission
Causes the texture to affect the color of emission
Type : | boolean, default False |
-
use_map_color_reflection
Causes the texture to affect the color of scattered light
Type : | boolean, default False |
-
use_map_color_spec
Causes the texture to affect the specularity color
Type : | boolean, default False |
-
use_map_color_transmission
Causes the texture to affect the result color after other light has been scattered/absorbed
Type : | boolean, default False |
-
use_map_density
Causes the texture to affect the volume’s density
Type : | boolean, default False |
-
use_map_diffuse
Causes the texture to affect the value of the materials diffuse reflectivity
Type : | boolean, default False |
-
use_map_displacement
Let the texture displace the surface
Type : | boolean, default False |
-
use_map_emission
Causes the texture to affect the volume’s emission
Type : | boolean, default False |
-
use_map_emit
Causes the texture to affect the emit value
Type : | boolean, default False |
-
use_map_hardness
Causes the texture to affect the hardness value
Type : | boolean, default False |
-
use_map_mirror
Causes the texture to affect the mirror color
Type : | boolean, default False |
-
use_map_normal
Causes the texture to affect the rendered normal
Type : | boolean, default False |
-
use_map_raymir
Causes the texture to affect the ray-mirror value
Type : | boolean, default False |
-
use_map_reflect
Causes the texture to affect the reflected light’s brightness
Type : | boolean, default False |
-
use_map_scatter
Causes the texture to affect the volume’s scattering
Type : | boolean, default False |
-
use_map_specular
Causes the texture to affect the value of specular reflectivity
Type : | boolean, default False |
-
use_map_translucency
Causes the texture to affect the translucency value
Type : | boolean, default False |
-
use_map_warp
Let the texture warp texture coordinates of next channels
Type : | boolean, default False |
-
uv_layer
UV layer to use for mapping with UV texture coordinates
-
warp_factor
Amount texture affects texture coordinates of next channels
Type : | float in [-inf, inf], default 0.0 |
Inherited Properties
Inherited Functions
References