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, Map X and Y coordinates directly.
- CUBE Cube, Map using the normal vector.
- TUBE Tube, Map with Z as central axis.
- SPHERE Sphere, Map 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
Set 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, Use global coordinates for the texture coordinates.
- OBJECT Object, Use linked object’s coordinates for texture coordinates.
- UV UV, Use UV coordinates for texture coordinates.
- ORCO Generated, Use the original undeformed coordinates of the object.
- STRAND Strand / Particle, Use normalized strand texture coordinate (1D) or particle age (X) and trail position (Y).
- STICKY Sticky, Use mesh’s sticky coordinates for the texture coordinates.
- WINDOW Window, Use screen coordinates as texture coordinates.
- NORMAL Normal, Use normal vector as texture coordinates.
- REFLECTION Reflection, Use reflection vector as texture coordinates.
- STRESS Stress, Use the difference of edge lengths compared to original coordinates of the mesh.
- TANGENT Tangent, Use 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 object’s transformation
Type : | boolean, default False |
-
use_map_alpha
The texture affects the alpha value
Type : | boolean, default False |
-
use_map_ambient
The texture affects the value of ambient
Type : | boolean, default False |
-
use_map_color_diffuse
The texture affects basic color of the material
Type : | boolean, default False |
-
use_map_color_emission
The texture affects the color of emission
Type : | boolean, default False |
-
use_map_color_reflection
The texture affects the color of scattered light
Type : | boolean, default False |
-
use_map_color_spec
The texture affects the specularity color
Type : | boolean, default False |
-
use_map_color_transmission
The texture affects the result color after other light has been scattered/absorbed
Type : | boolean, default False |
-
use_map_density
The texture affects the volume’s density
Type : | boolean, default False |
-
use_map_diffuse
The texture to affects 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
The texture affects the volume’s emission
Type : | boolean, default False |
-
use_map_emit
The texture affects the emit value
Type : | boolean, default False |
-
use_map_hardness
The texture affects the hardness value
Type : | boolean, default False |
-
use_map_mirror
The texture affects the mirror color
Type : | boolean, default False |
-
use_map_normal
The texture affects the rendered normal
Type : | boolean, default False |
-
use_map_raymir
The texture affects the ray-mirror value
Type : | boolean, default False |
-
use_map_reflect
The texture affects the reflected light’s brightness
Type : | boolean, default False |
-
use_map_scatter
The texture affects the volume’s scattering
Type : | boolean, default False |
-
use_map_specular
The texture to affects the value of specular reflectivity
Type : | boolean, default False |
-
use_map_translucency
The texture affects 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 map 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