LineStyleTextureSlot(TextureSlot)¶
base classes — bpy_struct, TextureSlot
-
class
bpy.types.LineStyleTextureSlot(TextureSlot)¶ Texture slot for textures in a LineStyle data-block
-
alpha_factor¶ Amount texture affects alpha
- Type
float in [-inf, inf], default 1.0
-
diffuse_color_factor¶ Amount texture affects diffuse color
- Type
float in [-inf, inf], default 1.0
-
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 ‘X’
-
mapping_y¶ - Type
enum in [‘NONE’, ‘X’, ‘Y’, ‘Z’], default ‘Y’
-
mapping_z¶ - Type
enum in [‘NONE’, ‘X’, ‘Y’, ‘Z’], default ‘Z’
-
texture_coords¶ Texture coordinates used to map the texture onto the background
WINDOWWindow, Use screen coordinates as texture coordinates.GLOBALGlobal, Use global coordinates for the texture coordinates.ALONG_STROKEAlong stroke, Use stroke length for texture coordinates.ORCOGenerated, Use the original undeformed coordinates of the object.
- Type
enum in [‘WINDOW’, ‘GLOBAL’, ‘ALONG_STROKE’, ‘ORCO’], default ‘ALONG_STROKE’
-
use_map_alpha¶ The texture affects the alpha value
- Type
boolean, default False
-
use_map_color_diffuse¶ The texture affects basic color of the stroke
- Type
boolean, default True
-
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