Blender V5.3
blender::GreasePencilLayer Struct Reference

#include <DNA_grease_pencil_types.h>

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

Public Attributes

GreasePencilLayerTreeNode base
GreasePencilLayerFramesMapStorage frames_storage
GreasePencilLayerBlendMode blend_mode = GP_LAYER_BLEND_NONE
char _pad [3] = {}
float opacity = 0
ListBaseT< GreasePencilLayerMask > masks = {nullptr, nullptr}
int active_mask_index = 0
char _pad2 [4] = {}
struct Object * parent = nullptr
char * parsubstr = nullptr
float parentinv [4][4] = {}
float translation [3] = {}
float rotation [3] = {}
float scale [3] = {1.0f, 1.0f, 1.0f}
char _pad3 [4] = {}
char * viewlayername = nullptr
bke::greasepencil::LayerRuntime * runtime = nullptr

Detailed Description

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

Examples
/usr/src/RPM/BUILD/blender5.3-5.3.0/source/blender/blenkernel/BKE_grease_pencil.hh.

Definition at line 344 of file DNA_grease_pencil_types.h.

Member Data Documentation

◆ _pad

char blender::GreasePencilLayer::_pad[3] = {}

Definition at line 352 of file DNA_grease_pencil_types.h.

◆ _pad2

char blender::GreasePencilLayer::_pad2[4] = {}

Definition at line 359 of file DNA_grease_pencil_types.h.

◆ _pad3

char blender::GreasePencilLayer::_pad3[4] = {}

Definition at line 375 of file DNA_grease_pencil_types.h.

◆ active_mask_index

◆ base

◆ blend_mode

◆ frames_storage

◆ masks

◆ opacity

◆ parent

◆ parentinv

float blender::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 369 of file DNA_grease_pencil_types.h.

Referenced by blender::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

◆ viewlayername


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