Blender V5.0
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 212 of file DNA_dynamicpaint_types.h.

Member Data Documentation

◆ _pad

char DynamicPaintBrushSettings::_pad[2]

Definition at line 242 of file DNA_dynamicpaint_types.h.

◆ alpha

float DynamicPaintBrushSettings::alpha

Definition at line 227 of file DNA_dynamicpaint_types.h.

◆ b

float DynamicPaintBrushSettings::b

Definition at line 227 of file DNA_dynamicpaint_types.h.

◆ collision

int DynamicPaintBrushSettings::collision

Definition at line 225 of file DNA_dynamicpaint_types.h.

◆ flags

int DynamicPaintBrushSettings::flags

Definition at line 224 of file DNA_dynamicpaint_types.h.

◆ g

float DynamicPaintBrushSettings::g

Definition at line 227 of file DNA_dynamicpaint_types.h.

◆ max_velocity

float DynamicPaintBrushSettings::max_velocity

Definition at line 245 of file DNA_dynamicpaint_types.h.

◆ paint_distance

float DynamicPaintBrushSettings::paint_distance

Definition at line 231 of file DNA_dynamicpaint_types.h.

◆ paint_ramp

struct ColorBand* DynamicPaintBrushSettings::paint_ramp

◆ particle_radius

float DynamicPaintBrushSettings::particle_radius

Definition at line 230 of file DNA_dynamicpaint_types.h.

◆ particle_smooth

float DynamicPaintBrushSettings::particle_smooth

Definition at line 230 of file DNA_dynamicpaint_types.h.

◆ pmd

struct DynamicPaintModifierData* DynamicPaintBrushSettings::pmd

For fast RNA access.

Definition at line 214 of file DNA_dynamicpaint_types.h.

Referenced by BKE_modifier_blend_read_data(), and dynamicPaint_Modifier_copy().

◆ proximity_falloff

short DynamicPaintBrushSettings::proximity_falloff

Definition at line 239 of file DNA_dynamicpaint_types.h.

◆ 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 222 of file DNA_dynamicpaint_types.h.

Referenced by BKE_modifier_blend_read_data(), BKE_object_copy_modifier(), BKE_object_copy_particlesystems(), and object_remove_particle_system().

◆ r

float DynamicPaintBrushSettings::r

Definition at line 227 of file DNA_dynamicpaint_types.h.

◆ ray_dir

short DynamicPaintBrushSettings::ray_dir

Definition at line 241 of file DNA_dynamicpaint_types.h.

◆ smudge_strength

float DynamicPaintBrushSettings::smudge_strength

Definition at line 245 of file DNA_dynamicpaint_types.h.

◆ vel_ramp

struct ColorBand* DynamicPaintBrushSettings::vel_ramp

Velocity paint ramp.

Definition at line 237 of file DNA_dynamicpaint_types.h.

Referenced by BKE_modifier_blend_read_data(), BKE_modifier_blend_write(), and dynamicPaint_freeBrush().

◆ wave_clamp

float DynamicPaintBrushSettings::wave_clamp

Definition at line 244 of file DNA_dynamicpaint_types.h.

◆ wave_factor

float DynamicPaintBrushSettings::wave_factor

Definition at line 244 of file DNA_dynamicpaint_types.h.

◆ wave_type

short DynamicPaintBrushSettings::wave_type

Definition at line 240 of file DNA_dynamicpaint_types.h.

◆ wetness

float DynamicPaintBrushSettings::wetness

Definition at line 228 of file DNA_dynamicpaint_types.h.


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