Blender V5.3
blender::HookGpencilModifierData Struct Reference

#include <DNA_grease_pencil_modifier_types.h>

Public Attributes

GpencilModifierData modifier
struct Object * object = nullptr
struct Material * material = nullptr
char subtarget [64] = ""
char layername [64] = ""
DNA_DEPRECATED char materialname [64] = ""
char vgname [64] = ""
int pass_index = 0
int layer_pass = 0
char _pad [4] = {}
eHookGpencil_Flag flag = {}
eHookGpencil_Falloff falloff_type = eGPHook_Falloff_Smooth
char _pad1 [3] = {}
float parentinv [4][4] = _DNA_DEFAULT_UNIT_M4
float cent [3] = {0.0f, 0.0f, 0.0f}
float falloff = 0.0f
float force = 0.5f
struct CurveMapping * curfalloff = nullptr

Detailed Description

Definition at line 674 of file DNA_grease_pencil_modifier_types.h.

Member Data Documentation

◆ _pad

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

Definition at line 695 of file DNA_grease_pencil_modifier_types.h.

◆ _pad1

char blender::HookGpencilModifierData::_pad1[3] = {}

Definition at line 699 of file DNA_grease_pencil_modifier_types.h.

◆ cent

float blender::HookGpencilModifierData::cent[3] = {0.0f, 0.0f, 0.0f}

Visualization of hook.

Definition at line 703 of file DNA_grease_pencil_modifier_types.h.

Referenced by blender::draw::overlay::Relations::object_sync().

◆ curfalloff

◆ falloff

float blender::HookGpencilModifierData::falloff = 0.0f

If not zero, falloff is distance where influence zero.

Definition at line 705 of file DNA_grease_pencil_modifier_types.h.

◆ falloff_type

eHookGpencil_Falloff blender::HookGpencilModifierData::falloff_type = eGPHook_Falloff_Smooth

Definition at line 698 of file DNA_grease_pencil_modifier_types.h.

◆ flag

eHookGpencil_Flag blender::HookGpencilModifierData::flag = {}

◆ force

float blender::HookGpencilModifierData::force = 0.5f

Definition at line 706 of file DNA_grease_pencil_modifier_types.h.

◆ layer_pass

int blender::HookGpencilModifierData::layer_pass = 0

Custom index for passes.

Definition at line 694 of file DNA_grease_pencil_modifier_types.h.

◆ layername

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

Layer name.

Definition at line 683 of file DNA_grease_pencil_modifier_types.h.

◆ material

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

◆ materialname

DNA_DEPRECATED char blender::HookGpencilModifierData::materialname[64] = ""

Material name.

Note
as this is legacy there is no need to use the current size of an ID name.

Definition at line 688 of file DNA_grease_pencil_modifier_types.h.

Referenced by blender::do_versions_after_linking_290().

◆ modifier

GpencilModifierData blender::HookGpencilModifierData::modifier

Definition at line 675 of file DNA_grease_pencil_modifier_types.h.

◆ object

◆ parentinv

float blender::HookGpencilModifierData::parentinv[4][4] = _DNA_DEFAULT_UNIT_M4

Matrix making current transform unmodified.

Definition at line 701 of file DNA_grease_pencil_modifier_types.h.

Referenced by blender::BKE_object_modifier_gpencil_hook_reset().

◆ pass_index

int blender::HookGpencilModifierData::pass_index = 0

Custom index for passes.

Definition at line 692 of file DNA_grease_pencil_modifier_types.h.

◆ subtarget

char blender::HookGpencilModifierData::subtarget[64] = ""

Optional name of bone target.

Definition at line 681 of file DNA_grease_pencil_modifier_types.h.

Referenced by blender::BKE_object_modifier_gpencil_hook_reset().

◆ vgname

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

Optional vertex-group name.

Definition at line 690 of file DNA_grease_pencil_modifier_types.h.


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