Blender  V3.3
Public Attributes | List of all members
MeshToVolumeModifierData Struct Reference

#include <DNA_modifier_types.h>

Public Attributes

ModifierData modifier
 
struct Objectobject
 
int resolution_mode
 
float voxel_size
 
int voxel_amount
 
char fill_volume
 
char _pad1 [3]
 
float interior_band_width
 
float exterior_band_width
 
float density
 
char _pad2 [4]
 
void_pad3
 

Detailed Description

Definition at line 2297 of file DNA_modifier_types.h.

Member Data Documentation

◆ _pad1

char MeshToVolumeModifierData::_pad1[3]

Definition at line 2314 of file DNA_modifier_types.h.

◆ _pad2

char MeshToVolumeModifierData::_pad2[4]

Definition at line 2321 of file DNA_modifier_types.h.

◆ _pad3

void* MeshToVolumeModifierData::_pad3

Definition at line 2322 of file DNA_modifier_types.h.

◆ density

float MeshToVolumeModifierData::density

Definition at line 2320 of file DNA_modifier_types.h.

Referenced by initData(), and mesh_to_volume().

◆ exterior_band_width

float MeshToVolumeModifierData::exterior_band_width

Definition at line 2318 of file DNA_modifier_types.h.

Referenced by initData(), and mesh_to_volume().

◆ fill_volume

char MeshToVolumeModifierData::fill_volume

If true, every cell in the enclosed volume gets a density. Otherwise, the interior_band_width is used.

Definition at line 2313 of file DNA_modifier_types.h.

Referenced by initData(), mesh_to_volume(), and panel_draw().

◆ interior_band_width

float MeshToVolumeModifierData::interior_band_width

Band widths are in object space.

Definition at line 2317 of file DNA_modifier_types.h.

Referenced by initData(), and mesh_to_volume().

◆ modifier

ModifierData MeshToVolumeModifierData::modifier

Definition at line 2298 of file DNA_modifier_types.h.

◆ object

struct Object* MeshToVolumeModifierData::object

This is the object that is supposed to be converted to a volume.

Definition at line 2301 of file DNA_modifier_types.h.

Referenced by foreachIDLink(), initData(), mesh_to_volume(), and updateDepsgraph().

◆ resolution_mode

int MeshToVolumeModifierData::resolution_mode

MeshToVolumeModifierResolutionMode

Definition at line 2304 of file DNA_modifier_types.h.

Referenced by initData(), mesh_to_volume(), and panel_draw().

◆ voxel_amount

int MeshToVolumeModifierData::voxel_amount

The desired amount of voxels along one axis. The actual amount of voxels might be slightly different.

Definition at line 2309 of file DNA_modifier_types.h.

Referenced by initData(), and mesh_to_volume().

◆ voxel_size

float MeshToVolumeModifierData::voxel_size

Size of a voxel in object space.

Definition at line 2306 of file DNA_modifier_types.h.

Referenced by initData(), and mesh_to_volume().


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