# 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 0.0

  `diffuse_color_factor`

    Amount texture affects diffuse color

    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’

  `texture_coords`

    Texture coordinates used to map the texture onto the background

    - `WINDOW` Window, Use screen coordinates as texture coordinates.
    - `GLOBAL` Global, Use global coordinates for the texture coordinates.
    - `ALONG_STROKE` Along stroke, Use stroke length for texture coordinates.
    - `ORCO` Generated, Use the original undeformed coordinates of the object.

    Type: | enum in [‘WINDOW’, ‘GLOBAL’, ‘ALONG_STROKE’, ‘ORCO’], default ‘WINDOW’

  `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 False

  `use_tips`

    Lower half of the texture is for tips of the stroke

    Type: | boolean, default False

Inherited Properties

`bpy_struct.id_data` `TextureSlot.texture` `TextureSlot.name` `TextureSlot.offset` `TextureSlot.scale` `TextureSlot.color` | `TextureSlot.blend_type` `TextureSlot.use_stencil` `TextureSlot.invert` `TextureSlot.use_rgb_to_intensity` `TextureSlot.default_value` `TextureSlot.output_node`

Inherited Functions

`bpy_struct.as_pointer` `bpy_struct.driver_add` `bpy_struct.driver_remove` `bpy_struct.get` `bpy_struct.is_property_hidden` `bpy_struct.is_property_readonly` `bpy_struct.is_property_set` `bpy_struct.items` | `bpy_struct.keyframe_delete` `bpy_struct.keyframe_insert` `bpy_struct.keys` `bpy_struct.path_from_id` `bpy_struct.path_resolve` `bpy_struct.property_unset` `bpy_struct.type_recast` `bpy_struct.values`

References

`FreestyleLineStyle.texture_slots` `LineStyleTextureSlots.add` | `LineStyleTextureSlots.create`