Blender V5.0
MetaElem Struct Reference

#include <DNA_meta_types.h>

Public Attributes

struct MetaElemnext
struct MetaElemprev
struct BoundBoxbb
short type
short flag
char _pad [4]
float x
float y
float z
float quat [4]
float expx
float expy
float expz
float rad
float rad2
float s
float len
floatmat
floatimat

Detailed Description

Definition at line 19 of file DNA_meta_types.h.

Member Data Documentation

◆ _pad

char MetaElem::_pad[4]

Definition at line 26 of file DNA_meta_types.h.

◆ bb

struct BoundBox* MetaElem::bb

Bound Box of MetaElem.

Definition at line 23 of file DNA_meta_types.h.

Referenced by find_first_points(), init_meta(), make_box_from_metaelem(), and partition_mainb().

◆ expx

float MetaElem::expx

Dimension parameters, used for some types like cubes.

Definition at line 32 of file DNA_meta_types.h.

Referenced by BKE_mball_element_add(), BKE_mball_element_display_radius_calc(), BKE_mball_element_display_radius_calc_with_stiffness(), densfunc(), and ED_mball_add_primitive().

◆ expy

◆ expz

◆ flag

◆ imat

float * MetaElem::imat

Definition at line 45 of file DNA_meta_types.h.

Referenced by densfunc(), and init_meta().

◆ len

float MetaElem::len

Old, only used for backwards compatibility. use dimensions now.

Definition at line 42 of file DNA_meta_types.h.

Referenced by densfunc().

◆ mat

float* MetaElem::mat

Matrix and inverted matrix.

Definition at line 45 of file DNA_meta_types.h.

Referenced by init_meta().

◆ next

◆ prev

struct MetaElem * MetaElem::prev

Definition at line 20 of file DNA_meta_types.h.

Referenced by duplicate_metaelems_exec().

◆ quat

float MetaElem::quat[4]

Rotation of MetaElem (MUST be kept normalized).

Definition at line 30 of file DNA_meta_types.h.

Referenced by BKE_mball_element_add(), and blender::ed::transform::getTransformOrientation_ex().

◆ rad

◆ rad2

float MetaElem::rad2

Temp field, used only while processing.

Definition at line 38 of file DNA_meta_types.h.

Referenced by densfunc(), and init_meta().

◆ s

float MetaElem::s

Stiffness, how much of the element to fill.

Definition at line 40 of file DNA_meta_types.h.

Referenced by BKE_mball_element_add(), BKE_mball_element_display_radius_calc_with_stiffness(), densfunc(), and init_meta().

◆ type

◆ x

◆ y

float MetaElem::y

Definition at line 28 of file DNA_meta_types.h.

◆ z

float MetaElem::z

Definition at line 28 of file DNA_meta_types.h.


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