Blender V5.3
blender::GreasePencilLineartModifierData Struct Reference

#include <DNA_modifier_types.h>

Public Attributes

ModifierData modifier
uint16_t edge_types
GreasePencilLineartModifierSource source_type = LINEART_SOURCE_COLLECTION
char use_multiple_levels = 0
short level_start = 0
short level_end = 0
struct Object * source_camera = nullptr
struct Object * light_contour_object = nullptr
struct Object * source_object = nullptr
struct Collection * source_collection = nullptr
struct Material * target_material = nullptr
char target_layer [64] = ""
char source_vertex_group [64] = ""
char vgname [64] = ""
float overscan = 0.1f
float shadow_camera_fov = 0
float shadow_camera_size = 200.0f
float shadow_camera_near = 0.1f
float shadow_camera_far = 200.0f
float opacity = 1.0f
float radius = 0.0025
short thickness_legacy = 25
eGreasePencilLineartMaskSwitches mask_switches = {}
unsigned char material_mask_bits = 0
unsigned char intersection_mask = 0
unsigned char shadow_selection = 0
unsigned char silhouette_selection = 0
unsigned char fill_strokes = 0
char _pad [4] = {}
float crease_threshold = DEG2RAD(140.0f)
float angle_splitting_threshold = 0.0f
float chain_smooth_tolerance = 0.0f
float chaining_image_threshold = 0.001f
int calculation_flags
eGreasePencilLineartFlags flags = {}
float stroke_depth_offset = 0.05
char level_start_override = 0
char level_end_override = 0
short edge_types_override = 0
char shadow_selection_override = 0
char shadow_use_silhouette_override = 0
char _pad2 [6] = {}
struct LineartCache * shared_cache = nullptr
struct LineartCache * cache = nullptr
struct LineartData * la_data_ptr = nullptr
struct LineartModifierRuntime * runtime = nullptr

Detailed Description

Definition at line 3125 of file DNA_modifier_types.h.

Member Data Documentation

◆ _pad

char blender::GreasePencilLineartModifierData::_pad[4] = {}

Definition at line 3179 of file DNA_modifier_types.h.

◆ _pad2

char blender::GreasePencilLineartModifierData::_pad2[6] = {}

Definition at line 3216 of file DNA_modifier_types.h.

◆ angle_splitting_threshold

float blender::GreasePencilLineartModifierData::angle_splitting_threshold = 0.0f

◆ cache

◆ calculation_flags

◆ chain_smooth_tolerance

float blender::GreasePencilLineartModifierData::chain_smooth_tolerance = 0.0f

◆ chaining_image_threshold

float blender::GreasePencilLineartModifierData::chaining_image_threshold = 0.001f

◆ crease_threshold

float blender::GreasePencilLineartModifierData::crease_threshold = DEG2RAD(140.0f)

◆ edge_types

◆ edge_types_override

◆ fill_strokes

unsigned char blender::GreasePencilLineartModifierData::fill_strokes = 0

Definition at line 3178 of file DNA_modifier_types.h.

Referenced by blender::bake_strokes().

◆ flags

◆ intersection_mask

unsigned char blender::GreasePencilLineartModifierData::intersection_mask = 0

◆ la_data_ptr

◆ level_end

◆ level_end_override

◆ level_start

◆ level_start_override

char blender::GreasePencilLineartModifierData::level_start_override = 0

◆ light_contour_object

◆ mask_switches

◆ material_mask_bits

unsigned char blender::GreasePencilLineartModifierData::material_mask_bits = 0

◆ modifier

◆ opacity

float blender::GreasePencilLineartModifierData::opacity = 1.0f

◆ overscan

◆ radius

float blender::GreasePencilLineartModifierData::radius = 0.0025

◆ runtime

◆ shadow_camera_far

float blender::GreasePencilLineartModifierData::shadow_camera_far = 200.0f

◆ shadow_camera_fov

float blender::GreasePencilLineartModifierData::shadow_camera_fov = 0

◆ shadow_camera_near

float blender::GreasePencilLineartModifierData::shadow_camera_near = 0.1f

◆ shadow_camera_size

float blender::GreasePencilLineartModifierData::shadow_camera_size = 200.0f

◆ shadow_selection

◆ shadow_selection_override

◆ shadow_use_silhouette_override

◆ shared_cache

struct LineartCache* blender::GreasePencilLineartModifierData::shared_cache = nullptr

◆ silhouette_selection

◆ source_camera

◆ source_collection

◆ source_object

◆ source_type

◆ source_vertex_group

char blender::GreasePencilLineartModifierData::source_vertex_group[64] = ""

These two variables are to pass on vertex group information from mesh to strokes. vgname specifies which vertex groups our strokes from source_vertex_group will go to.

Definition at line 3151 of file DNA_modifier_types.h.

Referenced by blender::bake_strokes(), blender::bke::greasepencil::convert::lineart_unwrap_v3(), and blender::bke::greasepencil::convert::lineart_wrap_v3().

◆ stroke_depth_offset

float blender::GreasePencilLineartModifierData::stroke_depth_offset = 0.05

◆ target_layer

◆ target_material

◆ thickness_legacy

short blender::GreasePencilLineartModifierData::thickness_legacy = 25

Definition at line 3170 of file DNA_modifier_types.h.

◆ use_multiple_levels

char blender::GreasePencilLineartModifierData::use_multiple_levels = 0

◆ vgname

char blender::GreasePencilLineartModifierData::vgname[64] = ""

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