TexMapping(bpy_struct)¶
base class — bpy_struct
- class bpy.types.TexMapping(bpy_struct)¶
Texture coordinate mapping settings
- mapping¶
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:
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'
- max¶
Maximum value for clipping
- Type:
mathutils.Vectorof 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
- min¶
Minimum value for clipping
- Type:
mathutils.Vectorof 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
- rotation¶
- Type:
mathutils.Eulerrotation of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
- scale¶
- Type:
mathutils.Vectorof 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
- translation¶
- Type:
mathutils.Vectorof 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
- use_max¶
Whether to use maximum clipping value
- Type:
boolean, default False
- use_min¶
Whether to use minimum clipping value
- Type:
boolean, default False
- vector_type¶
Type of vector that the mapping transforms
- Type:
enum in Mapping Type Items, default
'POINT'
- classmethod bl_rna_get_subclass(id, default=None, /)¶
- Parameters:
id (str) – 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 (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type