Blender V5.0
bGPdata Struct Reference

#include <DNA_gpencil_legacy_types.h>

Public Attributes

ID id
struct AnimDataadt
ListBase layers
int flag
int curve_edit_resolution
float curve_edit_threshold
float curve_edit_corner_angle
ListBase palettes DNA_DEPRECATED
ListBase vertex_group_names
float pixfactor
float line_color [4]
float onion_factor
int onion_mode
int onion_flag
short gstep
short gstep_next
float gcolor_prev [3]
float gcolor_next [3]
float zdepth_offset
struct Material ** mat
short totcol
short totlayer
short totframe
char _pad2 [6]
int totstroke
int totpoint
short draw_mode
short onion_keytype
int select_last_index
int vertex_group_active_index
bGPgrid grid
bGPdata_Runtime runtime

Detailed Description

Grease-Pencil Annotations - 'DataBlock'.

Definition at line 613 of file DNA_gpencil_legacy_types.h.

Member Data Documentation

◆ _pad2

char bGPdata::_pad2[6]

Definition at line 683 of file DNA_gpencil_legacy_types.h.

◆ adt

struct AnimData* bGPdata::adt

Animation data - for animating draw settings.

Definition at line 623 of file DNA_gpencil_legacy_types.h.

Referenced by acf_dsgpencil_setting_ptr(), and make_new_animlistelem().

◆ curve_edit_corner_angle

float bGPdata::curve_edit_corner_angle

Curve Editing corner angle (less or equal is treated as corner).

Definition at line 635 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_data_addnew().

◆ curve_edit_resolution

int bGPdata::curve_edit_resolution

Default resolution for generated curves using curve editing method.

Definition at line 631 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_data_addnew().

◆ curve_edit_threshold

float bGPdata::curve_edit_threshold

Curve Editing error threshold.

Definition at line 633 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_data_addnew().

◆ DNA_DEPRECATED

ListBase palettes bGPdata::DNA_DEPRECATED

List of bGPDpalette's - Deprecated (2.78 - 2.79 only).

Definition at line 639 of file DNA_gpencil_legacy_types.h.

◆ draw_mode

short bGPdata::draw_mode

◆ flag

◆ gcolor_next

float bGPdata::gcolor_next[3]

Optional color for ghosts after the active frame.

Definition at line 671 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_data_addnew(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().

◆ gcolor_prev

float bGPdata::gcolor_prev[3]

Optional color for ghosts before the active frame.

Definition at line 669 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_data_addnew(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().

◆ grid

bGPgrid bGPdata::grid

Definition at line 697 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_data_addnew().

◆ gstep

short bGPdata::gstep

Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself).

Definition at line 661 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_data_addnew(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().

◆ gstep_next

short bGPdata::gstep_next

Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself).

Definition at line 666 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_data_addnew(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().

◆ id

◆ layers

◆ line_color

float bGPdata::line_color[4]

Color for edit line.

Definition at line 648 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_data_addnew().

◆ mat

◆ onion_factor

float bGPdata::onion_factor

◆ onion_flag

int bGPdata::onion_flag

◆ onion_keytype

short bGPdata::onion_keytype

Keyframe type for onion filter (eBezTriple_KeyframeType plus All option)

Definition at line 690 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_data_addnew(), and blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil().

◆ onion_mode

int bGPdata::onion_mode

◆ pixfactor

float bGPdata::pixfactor

Factor to define pixel size conversion.

Definition at line 646 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_data_addnew().

◆ runtime

◆ select_last_index

int bGPdata::select_last_index

Stroke selection last index. Used to generate a unique selection index.

Definition at line 693 of file DNA_gpencil_legacy_types.h.

◆ totcol

◆ totframe

short bGPdata::totframe

Definition at line 682 of file DNA_gpencil_legacy_types.h.

◆ totlayer

short bGPdata::totlayer

Definition at line 681 of file DNA_gpencil_legacy_types.h.

◆ totpoint

int bGPdata::totpoint

Definition at line 685 of file DNA_gpencil_legacy_types.h.

◆ totstroke

int bGPdata::totstroke

Definition at line 684 of file DNA_gpencil_legacy_types.h.

◆ vertex_group_active_index

int bGPdata::vertex_group_active_index

◆ vertex_group_names

◆ zdepth_offset

float bGPdata::zdepth_offset

Offset for drawing over surfaces to keep strokes on top.

Definition at line 674 of file DNA_gpencil_legacy_types.h.

Referenced by BKE_gpencil_data_addnew().


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