Blender V5.3
blender::GreasePencilShrinkwrapModifierData Struct Reference

#include <DNA_modifier_types.h>

Public Attributes

ModifierData modifier
GreasePencilModifierInfluenceData influence
struct Object * target = nullptr
struct Object * aux_target = nullptr
float keep_dist = 0.05f
short shrink_type = MOD_SHRINKWRAP_NEAREST_SURFACE
char shrink_opts = MOD_SHRINKWRAP_PROJECT_ALLOW_POS_DIR
char shrink_mode = MOD_SHRINKWRAP_ON_SURFACE
float proj_limit = 0.0f
char proj_axis = MOD_SHRINKWRAP_PROJECT_OVER_NORMAL
char subsurf_levels = 0
char _pad [2] = {}
float smooth_factor = 0.05f
int smooth_step = 1
struct ShrinkwrapTreeData * cache_data = nullptr

Detailed Description

Definition at line 3338 of file DNA_modifier_types.h.

Member Data Documentation

◆ _pad

char blender::GreasePencilShrinkwrapModifierData::_pad[2] = {}

Definition at line 3364 of file DNA_modifier_types.h.

◆ aux_target

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

Additional shrink target.

Definition at line 3345 of file DNA_modifier_types.h.

Referenced by blender::modify_drawing().

◆ cache_data

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

Runtime only.

Definition at line 3371 of file DNA_modifier_types.h.

Referenced by blender::ensure_shrinkwrap_cache_data(), and blender::modify_drawing().

◆ influence

GreasePencilModifierInfluenceData blender::GreasePencilShrinkwrapModifierData::influence

◆ keep_dist

float blender::GreasePencilShrinkwrapModifierData::keep_dist = 0.05f

Distance offset to keep from mesh/projection point.

Definition at line 3347 of file DNA_modifier_types.h.

Referenced by blender::modify_drawing().

◆ modifier

ModifierData blender::GreasePencilShrinkwrapModifierData::modifier

Definition at line 3339 of file DNA_modifier_types.h.

◆ proj_axis

char blender::GreasePencilShrinkwrapModifierData::proj_axis = MOD_SHRINKWRAP_PROJECT_OVER_NORMAL

Axis to project over.

Definition at line 3357 of file DNA_modifier_types.h.

Referenced by blender::modify_drawing().

◆ proj_limit

float blender::GreasePencilShrinkwrapModifierData::proj_limit = 0.0f

Limit the projection ray cast.

Definition at line 3355 of file DNA_modifier_types.h.

Referenced by blender::modify_drawing().

◆ shrink_mode

char blender::GreasePencilShrinkwrapModifierData::shrink_mode = MOD_SHRINKWRAP_ON_SURFACE

Shrink to surface mode.

Definition at line 3353 of file DNA_modifier_types.h.

Referenced by blender::ensure_shrinkwrap_cache_data(), and blender::modify_drawing().

◆ shrink_opts

char blender::GreasePencilShrinkwrapModifierData::shrink_opts = MOD_SHRINKWRAP_PROJECT_ALLOW_POS_DIR

Shrink options.

Definition at line 3351 of file DNA_modifier_types.h.

Referenced by blender::modify_drawing().

◆ shrink_type

short blender::GreasePencilShrinkwrapModifierData::shrink_type = MOD_SHRINKWRAP_NEAREST_SURFACE

Shrink type projection.

Definition at line 3349 of file DNA_modifier_types.h.

Referenced by blender::ensure_shrinkwrap_cache_data(), and blender::modify_drawing().

◆ smooth_factor

float blender::GreasePencilShrinkwrapModifierData::smooth_factor = 0.05f

Factor of smooth.

Definition at line 3366 of file DNA_modifier_types.h.

Referenced by blender::modify_drawing().

◆ smooth_step

int blender::GreasePencilShrinkwrapModifierData::smooth_step = 1

How many times apply smooth.

Definition at line 3368 of file DNA_modifier_types.h.

Referenced by blender::modify_drawing().

◆ subsurf_levels

char blender::GreasePencilShrinkwrapModifierData::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 3363 of file DNA_modifier_types.h.

Referenced by blender::modify_drawing().

◆ target

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

Shrink target.

Definition at line 3343 of file DNA_modifier_types.h.

Referenced by blender::ensure_shrinkwrap_cache_data(), and blender::modify_drawing().


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