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

#include <DNA_dynamicpaint_types.h>

Public Attributes

struct DynamicPaintModifierDatapmd
 
struct ParticleSystempsys
 
int flags
 
int collision
 
float r
 
float g
 
float b
 
float alpha
 
float wetness
 
float particle_radius
 
float particle_smooth
 
float paint_distance
 
struct ColorBandpaint_ramp
 
struct ColorBandvel_ramp
 
short proximity_falloff
 
short wave_type
 
short ray_dir
 
char _pad [2]
 
float wave_factor
 
float wave_clamp
 
float max_velocity
 
float smudge_strength
 

Detailed Description

Definition at line 227 of file DNA_dynamicpaint_types.h.

Member Data Documentation

◆ _pad

char DynamicPaintBrushSettings::_pad[2]

Definition at line 257 of file DNA_dynamicpaint_types.h.

◆ alpha

float DynamicPaintBrushSettings::alpha

◆ b

float DynamicPaintBrushSettings::b

◆ collision

int DynamicPaintBrushSettings::collision

◆ flags

int DynamicPaintBrushSettings::flags

◆ g

float DynamicPaintBrushSettings::g

◆ max_velocity

float DynamicPaintBrushSettings::max_velocity

◆ paint_distance

float DynamicPaintBrushSettings::paint_distance

◆ paint_ramp

struct ColorBand* DynamicPaintBrushSettings::paint_ramp

◆ particle_radius

float DynamicPaintBrushSettings::particle_radius

◆ particle_smooth

float DynamicPaintBrushSettings::particle_smooth

◆ pmd

struct DynamicPaintModifierData* DynamicPaintBrushSettings::pmd

◆ proximity_falloff

short DynamicPaintBrushSettings::proximity_falloff

◆ psys

struct ParticleSystem* DynamicPaintBrushSettings::psys
Note
Storing the particle system pointer here is very weak, as it prevents modifiers' data copying to be self-sufficient (extra external code needs to ensure the pointer remains valid when the modifier data is copied from one object to another). See e.g. BKE_object_copy_particlesystems or BKE_object_copy_modifier.

Definition at line 237 of file DNA_dynamicpaint_types.h.

Referenced by BKE_modifier_blend_read_data(), BKE_object_copy_modifier(), BKE_object_copy_particlesystems(), dynamicPaint_createType(), dynamicPaint_doStep(), dynamicPaint_Modifier_copy(), dynamicPaint_paintParticles(), and object_remove_particle_system().

◆ r

float DynamicPaintBrushSettings::r

◆ ray_dir

short DynamicPaintBrushSettings::ray_dir

◆ smudge_strength

float DynamicPaintBrushSettings::smudge_strength

◆ vel_ramp

struct ColorBand* DynamicPaintBrushSettings::vel_ramp

◆ wave_clamp

float DynamicPaintBrushSettings::wave_clamp

◆ wave_factor

float DynamicPaintBrushSettings::wave_factor

◆ wave_type

short DynamicPaintBrushSettings::wave_type

◆ wetness

float DynamicPaintBrushSettings::wetness

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