Blender  V2.93
Public Attributes | List of all members
MetaBall Struct Reference

#include <DNA_meta_types.h>

Public Attributes

ID id
 
struct AnimDataadt
 
ListBase elems
 
ListBase disp
 
ListBaseeditelems
 
struct Ipo *ipo DNA_DEPRECATED
 
struct Material ** mat
 
char flag
 
char flag2
 
short totcol
 
short texflag
 
char _pad [1]
 
char needs_flush_to_id
 
float loc [3]
 
float size [3]
 
float rot [3]
 
float wiresize
 
float rendersize
 
float thresh
 
MetaElemlastelem
 
void * batch_cache
 

Detailed Description

Definition at line 68 of file DNA_meta_types.h.

Member Data Documentation

◆ _pad

char MetaBall::_pad[1]

Definition at line 87 of file DNA_meta_types.h.

◆ adt

struct AnimData* MetaBall::adt

◆ batch_cache

void* MetaBall::batch_cache

◆ disp

ListBase MetaBall::disp

Definition at line 73 of file DNA_meta_types.h.

Referenced by metaball_blend_read_data(), and metaball_blend_write().

◆ DNA_DEPRECATED

struct Ipo* ipo MetaBall::DNA_DEPRECATED

Old animation system, deprecated for 2.5.

Definition at line 77 of file DNA_meta_types.h.

◆ editelems

ListBase* MetaBall::editelems

◆ elems

ListBase MetaBall::elems

◆ flag

char MetaBall::flag

Flag is enum for updates, flag2 is bitflags for settings.

Definition at line 83 of file DNA_meta_types.h.

Referenced by BKE_mball_polygonize(), and BKE_mball_properties_copy().

◆ flag2

char MetaBall::flag2

Definition at line 83 of file DNA_meta_types.h.

Referenced by acf_dsmball_setting_ptr().

◆ id

ID MetaBall::id

◆ lastelem

MetaElem* MetaBall::lastelem

◆ loc

float MetaBall::loc[3]

◆ mat

struct Material** MetaBall::mat

◆ needs_flush_to_id

char MetaBall::needs_flush_to_id

ID data is older than edit-mode data (TODO: move to edit-mode struct). Set Main.is_memfile_undo_flush_needed when enabling.

Definition at line 93 of file DNA_meta_types.h.

Referenced by BKE_object_data_editmode_flush_ptr_get(), ED_object_editmode_enter_ex(), mball_undosys_step_decode(), mball_undosys_step_encode(), metaball_blend_read_data(), and metaball_blend_write().

◆ rendersize

float MetaBall::rendersize

◆ rot

float MetaBall::rot[3]

Definition at line 98 of file DNA_meta_types.h.

◆ size

float MetaBall::size[3]

◆ texflag

short MetaBall::texflag

Used to store MB_AUTOSPACE.

Definition at line 86 of file DNA_meta_types.h.

Referenced by BKE_object_obdata_texspace_get().

◆ thresh

float MetaBall::thresh

Definition at line 106 of file DNA_meta_types.h.

Referenced by BKE_mball_polygonize(), and BKE_mball_properties_copy().

◆ totcol

short MetaBall::totcol

◆ wiresize

float MetaBall::wiresize

Display and render res.

Definition at line 101 of file DNA_meta_types.h.

Referenced by BKE_mball_polygonize(), BKE_mball_properties_copy(), and ED_mball_add_primitive().


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