GreasePencilTextureModifier(Modifier)¶
base classes — bpy_struct, Modifier
- class bpy.types.GreasePencilTextureModifier(Modifier)¶
Transform stroke texture coordinates Modifier
- alignment_rotation¶
Additional rotation applied to dots and square strokes (in [-1.5708, 1.5708], default 0.0)
- Type:
float
- fill_offset¶
Additional offset of the fill UV (array of 2 items, in [-inf, inf], default (0.0, 0.0))
- Type:
- fill_rotation¶
Additional rotation of the fill UV (in [-inf, inf], default 0.0)
- Type:
float
- fill_scale¶
Additional scale of the fill UV (in [0.01, 100], default 1.0)
- Type:
float
- fit_method¶
(default
'CONSTANT_LENGTH')CONSTANT_LENGTHConstant Length – Keep the texture at a constant length regardless of the length of each stroke.FIT_STROKEStroke Length – Scale the texture to fit the length of each stroke.
- Type:
Literal[‘CONSTANT_LENGTH’, ‘FIT_STROKE’]
- invert_layer_filter¶
Invert layer filter (default False)
- Type:
bool
- invert_layer_pass_filter¶
Invert layer pass filter (default False)
- Type:
bool
- invert_material_filter¶
Invert material filter (default False)
- Type:
bool
- invert_material_pass_filter¶
Invert material pass filter (default False)
- Type:
bool
- layer_pass_filter¶
Layer pass filter (in [0, 100], default 0)
- Type:
int
- material_pass_filter¶
Material pass (in [0, 100], default 0)
- Type:
int
- mode¶
(default
'STROKE')STROKEStroke – Manipulate only stroke texture coordinates.FILLFill – Manipulate only fill texture coordinates.STROKE_AND_FILLStroke & Fill – Manipulate both stroke and fill texture coordinates.
- Type:
Literal[‘STROKE’, ‘FILL’, ‘STROKE_AND_FILL’]
- open_influence_panel¶
(default False)
- Type:
bool
- tree_node_filter¶
Layer name (default “”, never None)
- Type:
str
- use_layer_group_filter¶
Filter by layer group name (default False)
- Type:
bool
- use_layer_pass_filter¶
Use layer pass filter (default False)
- Type:
bool
- use_material_pass_filter¶
Use material pass filter (default False)
- Type:
bool
- uv_offset¶
Offset value to add to stroke UVs (in [-inf, inf], default 0.0)
- Type:
float
- uv_scale¶
Factor to scale the UVs (in [0, inf], default 1.0)
- Type:
float
- 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