Blender V5.3
blender::ObHook Struct Reference

#include <DNA_object_types.h>

Public Attributes

struct ObHook * next = nullptr
struct ObHook * prev = nullptr
struct Object * parent = nullptr
float parentinv [4][4] = {}
float mat [4][4] = {}
float cent [3] = {}
float falloff = 0
char name [64] = ""
int * indexar = nullptr
int totindex = 0
int curindex = 0
short type = 0
short active = 0
float force = 0

Detailed Description

DEPRECATED: this is not used anymore because hooks are now modifiers.

Definition at line 681 of file DNA_object_types.h.

Member Data Documentation

◆ active

short blender::ObHook::active = 0

Definition at line 700 of file DNA_object_types.h.

◆ cent

float blender::ObHook::cent[3] = {}

Visualization of hook.

Definition at line 690 of file DNA_object_types.h.

Referenced by blender::object_blend_read_data().

◆ curindex

int blender::ObHook::curindex = 0

Definition at line 698 of file DNA_object_types.h.

◆ falloff

float blender::ObHook::falloff = 0

If not zero, falloff is distance where influence zero.

Definition at line 692 of file DNA_object_types.h.

Referenced by blender::object_blend_read_data().

◆ force

float blender::ObHook::force = 0

Definition at line 701 of file DNA_object_types.h.

Referenced by blender::object_blend_read_data().

◆ indexar

int* blender::ObHook::indexar = nullptr

Definition at line 696 of file DNA_object_types.h.

Referenced by blender::object_blend_read_data().

◆ mat

float blender::ObHook::mat[4][4] = {}

Temp matrix while hooking.

Definition at line 688 of file DNA_object_types.h.

◆ name

char blender::ObHook::name[64] = ""

Definition at line 694 of file DNA_object_types.h.

◆ next

struct ObHook* blender::ObHook::next = nullptr

Definition at line 682 of file DNA_object_types.h.

◆ parent

struct Object* blender::ObHook::parent = nullptr

◆ parentinv

float blender::ObHook::parentinv[4][4] = {}

Matrix making current transform unmodified.

Definition at line 686 of file DNA_object_types.h.

Referenced by blender::object_blend_read_data().

◆ prev

struct ObHook * blender::ObHook::prev = nullptr

Definition at line 682 of file DNA_object_types.h.

◆ totindex

int blender::ObHook::totindex = 0

Curindex is cache for fast lookup.

Definition at line 698 of file DNA_object_types.h.

Referenced by blender::object_blend_read_data().

◆ type

short blender::ObHook::type = 0

Active is only first hook, for button menu.

Definition at line 700 of file DNA_object_types.h.


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