Blender V5.3
blender::ShrinkwrapGpencilModifierData Struct Reference

#include <DNA_grease_pencil_modifier_types.h>

Public Attributes

GpencilModifierData modifier
struct Object * target = nullptr
struct Object * aux_target = nullptr
struct Material * material = nullptr
char layername [64] = ""
char vgname [64] = ""
int pass_index = 0
eShrinkwrapGpencil_Flag flag = {}
int layer_pass = 0
float keep_dist = 0.05f
short shrink_type = MOD_SHRINKWRAP_NEAREST_SURFACE
char shrink_opts = MOD_SHRINKWRAP_PROJECT_ALLOW_POS_DIR
char shrink_mode = 0
float proj_limit = 0.0f
char proj_axis = 0
char subsurf_levels = 0
char _pad [6] = {}
float smooth_factor = 0.05f
int smooth_step = 1
struct ShrinkwrapTreeData * cache_data = nullptr

Detailed Description

Definition at line 1170 of file DNA_grease_pencil_modifier_types.h.

Member Data Documentation

◆ _pad

char blender::ShrinkwrapGpencilModifierData::_pad[6] = {}

Definition at line 1206 of file DNA_grease_pencil_modifier_types.h.

◆ aux_target

struct Object* blender::ShrinkwrapGpencilModifierData::aux_target = nullptr

Additional shrink target.

Definition at line 1175 of file DNA_grease_pencil_modifier_types.h.

Referenced by blender::gpencil_modifier_foreach_ID_link().

◆ cache_data

struct ShrinkwrapTreeData* blender::ShrinkwrapGpencilModifierData::cache_data = nullptr

◆ flag

eShrinkwrapGpencil_Flag blender::ShrinkwrapGpencilModifierData::flag = {}

Flags.

Definition at line 1185 of file DNA_grease_pencil_modifier_types.h.

◆ keep_dist

float blender::ShrinkwrapGpencilModifierData::keep_dist = 0.05f

Distance offset to keep from mesh/projection point.

Definition at line 1189 of file DNA_grease_pencil_modifier_types.h.

◆ layer_pass

int blender::ShrinkwrapGpencilModifierData::layer_pass = 0

Custom index for passes.

Definition at line 1187 of file DNA_grease_pencil_modifier_types.h.

◆ layername

char blender::ShrinkwrapGpencilModifierData::layername[64] = ""

Layer name.

Definition at line 1179 of file DNA_grease_pencil_modifier_types.h.

◆ material

struct Material* blender::ShrinkwrapGpencilModifierData::material = nullptr

Material for filtering.

Definition at line 1177 of file DNA_grease_pencil_modifier_types.h.

Referenced by blender::gpencil_modifier_foreach_ID_link().

◆ modifier

GpencilModifierData blender::ShrinkwrapGpencilModifierData::modifier

Definition at line 1171 of file DNA_grease_pencil_modifier_types.h.

◆ pass_index

int blender::ShrinkwrapGpencilModifierData::pass_index = 0

Custom index for passes.

Definition at line 1183 of file DNA_grease_pencil_modifier_types.h.

◆ proj_axis

char blender::ShrinkwrapGpencilModifierData::proj_axis = 0

Axis to project over.

Definition at line 1199 of file DNA_grease_pencil_modifier_types.h.

◆ proj_limit

float blender::ShrinkwrapGpencilModifierData::proj_limit = 0.0f

Limit the projection ray cast.

Definition at line 1197 of file DNA_grease_pencil_modifier_types.h.

◆ shrink_mode

char blender::ShrinkwrapGpencilModifierData::shrink_mode = 0

Shrink to surface mode.

Definition at line 1195 of file DNA_grease_pencil_modifier_types.h.

◆ shrink_opts

char blender::ShrinkwrapGpencilModifierData::shrink_opts = MOD_SHRINKWRAP_PROJECT_ALLOW_POS_DIR

Shrink options.

Definition at line 1193 of file DNA_grease_pencil_modifier_types.h.

◆ shrink_type

short blender::ShrinkwrapGpencilModifierData::shrink_type = MOD_SHRINKWRAP_NEAREST_SURFACE

◆ smooth_factor

float blender::ShrinkwrapGpencilModifierData::smooth_factor = 0.05f

Factor of smooth.

Definition at line 1208 of file DNA_grease_pencil_modifier_types.h.

◆ smooth_step

int blender::ShrinkwrapGpencilModifierData::smooth_step = 1

How many times apply smooth.

Definition at line 1210 of file DNA_grease_pencil_modifier_types.h.

◆ subsurf_levels

char blender::ShrinkwrapGpencilModifierData::subsurf_levels = 0

If using projection over vertex normal this controls the level of subsurface that must be done before getting the vertex coordinates and normal.

Definition at line 1205 of file DNA_grease_pencil_modifier_types.h.

◆ target

struct Object* blender::ShrinkwrapGpencilModifierData::target = nullptr

Shrink target.

Definition at line 1173 of file DNA_grease_pencil_modifier_types.h.

Referenced by blender::gpencil_modifier_foreach_ID_link().

◆ vgname

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

Optional vertex-group filter name.

Definition at line 1181 of file DNA_grease_pencil_modifier_types.h.


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