base class — bpy_struct
Collection of related sketches
Frame currently being displayed for this layer
Type: | GPencilFrame, (readonly) |
---|
Base color for ghosts after the active frame
Type: | float array of 3 items in [0, 1], default (0.0, 0.0, 0.0) |
---|
Layer Opacity
Type: | float in [0, 1], default 0.0 |
---|
Base color for ghosts before the active frame
Type: | float array of 3 items in [0, 1], default (0.0, 0.0, 0.0) |
---|
Color for all strokes in this layer
Type: | float array of 3 items in [0, 1], default (0.0, 0.0, 0.0) |
---|
Opacity for filling region bounded by each stroke
Type: | float in [0, 1], default 0.0 |
---|
Color for filling region bounded by each stroke
Type: | float array of 3 items in [0, 1], default (0.0, 0.0, 0.0) |
---|
Sketches for this layer on different frames
Type: | GPencilFrames bpy_prop_collection of GPencilFrame, (readonly) |
---|
Maximum number of frames to show after current frame (0 = show only the next sketch)
Type: | int in [0, 120], default 0 |
---|
Maximum number of frames to show before current frame (0 = show only the previous sketch)
Type: | int in [0, 120], default 0 |
---|
Set layer Visibility
Type: | boolean, default False |
---|
Layer name
Type: | string, default “”, (never None) |
---|
True when opacity of fill is set high enough to be visible
Type: | boolean, default False, (readonly) |
---|
True when opacity of stroke is set high enough to be visible
Type: | boolean, default False, (readonly) |
---|
Thickness of strokes (in pixels)
Type: | int in [-32768, 32767], default 0 |
---|
Protect layer from further editing and/or frame changes
Type: | boolean, default False |
---|
Lock current frame displayed by layer
Type: | boolean, default False |
---|
Layer is selected for editing in the Dope Sheet
Type: | boolean, default False |
---|
Draw the points which make up the strokes (for debugging purposes)
Type: | boolean, default False |
---|
Make the layer draw in front of objects
Type: | boolean, default False |
---|
Use custom colors for ghost frames
Type: | boolean, default False |
---|
Ghost frames on either side of frame
Type: | boolean, default False |
---|
Draw strokes as a series of circular blobs, resulting in a volumetric effect
Type: | boolean, default False |
---|
Remove all the grease pencil layer data
Inherited Properties
Inherited Functions
References