TexMapping(bpy_struct)
base class — bpy_struct
- class bpy.types.TexMapping(bpy_struct)
Texture coordinate mapping settings
- mapping
(default
'FLAT')FLATFlat – Map X and Y coordinates directly.CUBECube – Map using the normal vector.TUBETube – Map with Z as central axis.SPHERESphere – Map with Z as central axis.
- Type:
Literal[‘FLAT’, ‘CUBE’, ‘TUBE’, ‘SPHERE’]
- mapping_x
(default
'NONE')- Type:
Literal[‘NONE’, ‘X’, ‘Y’, ‘Z’]
- mapping_y
(default
'NONE')- Type:
Literal[‘NONE’, ‘X’, ‘Y’, ‘Z’]
- mapping_z
(default
'NONE')- Type:
Literal[‘NONE’, ‘X’, ‘Y’, ‘Z’]
- max
Maximum value for clipping (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))
- Type:
- min
Minimum value for clipping (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))
- Type:
- rotation
(array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))
- Type:
- scale
(array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))
- Type:
- translation
(array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))
- Type:
- use_max
Whether to use maximum clipping value (default False)
- Type:
bool
- use_min
Whether to use minimum clipping value (default False)
- Type:
bool
- vector_type
Type of vector that the mapping transforms (default
'POINT')- Type:
Literal[Mapping Type Items]
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type