Blender  V3.3
Public Attributes | List of all members
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 23 of file DNA_meta_types.h.

Member Data Documentation

◆ _pad

char MetaElem::_pad[4]

Definition at line 30 of file DNA_meta_types.h.

◆ bb

struct BoundBox* MetaElem::bb

◆ expx

float MetaElem::expx

Dimension parameters, used for some types like cubes.

Definition at line 36 of file DNA_meta_types.h.

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

◆ expy

float MetaElem::expy

Definition at line 37 of file DNA_meta_types.h.

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

◆ expz

float MetaElem::expz

Definition at line 38 of file DNA_meta_types.h.

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

◆ flag

short MetaElem::flag

◆ imat

float * MetaElem::imat

Definition at line 49 of file DNA_meta_types.h.

Referenced by densfunc(), and init_meta().

◆ len

float MetaElem::len

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

Definition at line 46 of file DNA_meta_types.h.

Referenced by densfunc().

◆ mat

float* MetaElem::mat

Matrix and inverted matrix.

Definition at line 49 of file DNA_meta_types.h.

Referenced by init_meta().

◆ next

struct MetaElem* MetaElem::next

◆ prev

struct MetaElem * MetaElem::prev

Definition at line 24 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 34 of file DNA_meta_types.h.

Referenced by BKE_mball_element_add(), getTransformOrientation_ex(), init_meta(), mball_select_similar_type(), and mball_select_similar_type_get().

◆ rad

float MetaElem::rad

Radius of the meta element.

Definition at line 40 of file DNA_meta_types.h.

Referenced by BKE_mball_element_add(), init_meta(), mball_select_similar_type(), and mball_select_similar_type_get().

◆ rad2

float MetaElem::rad2

Temp field, used only while processing.

Definition at line 42 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 44 of file DNA_meta_types.h.

Referenced by BKE_mball_element_add(), densfunc(), init_meta(), mball_select_similar_type(), and mball_select_similar_type_get().

◆ type

short MetaElem::type

◆ x

float MetaElem::x

◆ y

float MetaElem::y

Definition at line 32 of file DNA_meta_types.h.

Referenced by init_meta().

◆ z

float MetaElem::z

Definition at line 32 of file DNA_meta_types.h.

Referenced by init_meta().


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