Blender V4.3
GreasePencilLayer Struct Reference

#include <DNA_grease_pencil_types.h>

Inherited by blender::bke::greasepencil::Layer.

Public Attributes

GreasePencilLayerTreeNode base
 
GreasePencilLayerFramesMapStorage frames_storage
 
int8_t blend_mode
 
char _pad [3]
 
float opacity
 
ListBase masks
 
int active_mask_index
 
char _pad2 [4]
 
struct Objectparent
 
char * parsubstr
 
float parentinv [4][4]
 
float translation [3]
 
float rotation [3]
 
float scale [3]
 
char _pad3 [4]
 
char * viewlayername
 
GreasePencilLayerRuntimeHandleruntime
 

Detailed Description

A grease pencil layer is a collection of drawings mapped to a specific time on the timeline.

Examples
/usr/src/RPM/BUILD/blender-4.3.0/source/blender/blenkernel/BKE_grease_pencil.hh.

Definition at line 280 of file DNA_grease_pencil_types.h.

Member Data Documentation

◆ _pad

char GreasePencilLayer::_pad[3]

Definition at line 288 of file DNA_grease_pencil_types.h.

◆ _pad2

char GreasePencilLayer::_pad2[4]

Definition at line 298 of file DNA_grease_pencil_types.h.

◆ _pad3

char GreasePencilLayer::_pad3[4]

Definition at line 314 of file DNA_grease_pencil_types.h.

◆ active_mask_index

◆ base

◆ blend_mode

◆ frames_storage

◆ masks

◆ opacity

◆ parent

◆ parentinv

float GreasePencilLayer::parentinv[4][4]

Stores the inverse of the parent during parenting to keep the layer in its position. Also referred to as the "keep transform" parenting elsewhere.

Definition at line 308 of file DNA_grease_pencil_types.h.

Referenced by BKE_grease_pencil_copy_layer_parameters(), blender::bke::greasepencil::Layer::Layer(), blender::bke::greasepencil::Layer::Layer(), blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil(), and blender::bke::greasepencil::Layer::parent_inverse().

◆ parsubstr

◆ rotation

◆ runtime

◆ scale

◆ translation

float GreasePencilLayer::translation[3]

◆ viewlayername


The documentation for this struct was generated from the following file: