GpencilModifier(bpy_struct)
base class — bpy_struct
subclasses —
ArmatureGpencilModifier, ArrayGpencilModifier, BuildGpencilModifier, ColorGpencilModifier, DashGpencilModifierData, HookGpencilModifier, LatticeGpencilModifier, LengthGpencilModifier, LineartGpencilModifier, MirrorGpencilModifier, MultiplyGpencilModifier, NoiseGpencilModifier, OffsetGpencilModifier, OpacityGpencilModifier, SimplifyGpencilModifier, SmoothGpencilModifier, SubdivGpencilModifier, TextureGpencilModifier, ThickGpencilModifier, TimeGpencilModifier, TintGpencilModifier, WeightAngleGpencilModifier, WeightProxGpencilModifier
- class bpy.types.GpencilModifier(bpy_struct)
Modifier affecting the Grease Pencil object
- is_override_data
In a local override object, whether this modifier comes from the linked reference object, or is local to the override
- Type
boolean, default False, (readonly)
- name
Modifier name
- Type
string, default “”, (never None)
- show_expanded
Set modifier expanded in the user interface
- Type
boolean, default False
- show_in_editmode
Display modifier in Edit mode
- Type
boolean, default False
- show_render
Use modifier during render
- Type
boolean, default False
- show_viewport
Display modifier in viewport
- Type
boolean, default False
- type
GP_TEXTURETexture Mapping – Change stroke uv texture values.GP_TIMETime Offset – Offset keyframes.GP_WEIGHT_ANGLEVertex Weight Angle – Generate Vertex Weights base on stroke angle.GP_WEIGHT_PROXIMITYVertex Weight Proximity – Generate Vertex Weights base on distance to object.GP_ARRAYArray – Create array of duplicate instances.GP_BUILDBuild – Create duplication of strokes.GP_DASHDot Dash – Generate dot-dash styled strokes.GP_LENGTHLength – Extend or shrink strokes.GP_LINEARTLine Art – Generate line art strokes from selected source.GP_MIRRORMirror – Duplicate strokes like a mirror.GP_MULTIPLYMultiple Strokes – Produce multiple strokes along one stroke.GP_SIMPLIFYSimplify – Simplify stroke reducing number of points.GP_SUBDIVSubdivide – Subdivide stroke adding more control points.GP_ARMATUREArmature – Deform stroke points using armature object.GP_HOOKHook – Deform stroke points using objects.GP_LATTICELattice – Deform strokes using lattice.GP_NOISENoise – Add noise to strokes.GP_OFFSETOffset – Change stroke location, rotation or scale.GP_SMOOTHSmooth – Smooth stroke.GP_THICKThickness – Change stroke thickness.GP_COLORHue/Saturation – Apply changes to stroke colors.GP_OPACITYOpacity – Opacity of the strokes.GP_TINTTint – Tint strokes with new color.
- Type
enum in [‘GP_TEXTURE’, ‘GP_TIME’, ‘GP_WEIGHT_ANGLE’, ‘GP_WEIGHT_PROXIMITY’, ‘GP_ARRAY’, ‘GP_BUILD’, ‘GP_DASH’, ‘GP_LENGTH’, ‘GP_LINEART’, ‘GP_MIRROR’, ‘GP_MULTIPLY’, ‘GP_SIMPLIFY’, ‘GP_SUBDIV’, ‘GP_ARMATURE’, ‘GP_HOOK’, ‘GP_LATTICE’, ‘GP_NOISE’, ‘GP_OFFSET’, ‘GP_SMOOTH’, ‘GP_THICK’, ‘GP_COLOR’, ‘GP_OPACITY’, ‘GP_TINT’], default ‘GP_TEXTURE’, (readonly)
- 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
Inherited Properties
Inherited Functions
References