Blender V5.3
blender::HookData_cb Struct Reference

Public Attributes

MutableSpan< float3 > positions
int defgrp_index
CurveMapping * curfalloff
char falloff_type
float falloff
float falloff_sq
float fac_orig
uint use_falloff: 1
uint use_uniform: 1
float cent [3]
float mat_uniform [3][3]
float mat [4][4]
bool invert_vgroup

Detailed Description

Definition at line 121 of file MOD_hook.cc.

Member Data Documentation

◆ cent

float blender::HookData_cb::cent[3]

Definition at line 140 of file MOD_hook.cc.

Referenced by blender::deformVerts_do(), and blender::hook_co_apply().

◆ curfalloff

CurveMapping* blender::HookData_cb::curfalloff

Definition at line 130 of file MOD_hook.cc.

Referenced by blender::deformVerts_do(), and blender::hook_falloff().

◆ defgrp_index

int blender::HookData_cb::defgrp_index

When anything other than -1, use deform groups. This is not the same as checking dvert for nullptr when we have edit-meshes.

Definition at line 128 of file MOD_hook.cc.

Referenced by blender::deformVerts_do(), and blender::hook_co_apply().

◆ fac_orig

float blender::HookData_cb::fac_orig

◆ falloff

float blender::HookData_cb::falloff

Definition at line 133 of file MOD_hook.cc.

Referenced by blender::deformVerts_do(), and blender::hook_falloff().

◆ falloff_sq

float blender::HookData_cb::falloff_sq

Definition at line 134 of file MOD_hook.cc.

Referenced by blender::deformVerts_do(), and blender::hook_falloff().

◆ falloff_type

char blender::HookData_cb::falloff_type

Definition at line 132 of file MOD_hook.cc.

Referenced by blender::deformVerts_do(), and blender::hook_falloff().

◆ invert_vgroup

bool blender::HookData_cb::invert_vgroup

Definition at line 145 of file MOD_hook.cc.

Referenced by blender::deformVerts_do(), and blender::hook_co_apply().

◆ mat

float blender::HookData_cb::mat[4][4]

Definition at line 143 of file MOD_hook.cc.

Referenced by blender::deformVerts_do(), and blender::hook_co_apply().

◆ mat_uniform

float blender::HookData_cb::mat_uniform[3][3]

Definition at line 142 of file MOD_hook.cc.

Referenced by blender::deformVerts_do(), and blender::hook_co_apply().

◆ positions

MutableSpan<float3> blender::HookData_cb::positions

Definition at line 122 of file MOD_hook.cc.

Referenced by blender::deformVerts_do(), and blender::hook_co_apply().

◆ use_falloff

uint blender::HookData_cb::use_falloff

Definition at line 137 of file MOD_hook.cc.

Referenced by blender::deformVerts_do(), and blender::hook_co_apply().

◆ use_uniform

uint blender::HookData_cb::use_uniform

Definition at line 138 of file MOD_hook.cc.

Referenced by blender::deformVerts_do(), and blender::hook_co_apply().


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