Blender V5.0
UnifiedPaintSettings Struct Reference

#include <DNA_scene_types.h>

Public Attributes

int size
float unprojected_size
float alpha
float weight
float color [3]
float secondary_color [3]
float rgb[3] DNA_DEPRECATED
float secondary_rgb[3] DNA_DEPRECATED
int color_jitter_flag
float hsv_jitter [3]
struct CurveMappingcurve_rand_hue
struct CurveMappingcurve_rand_saturation
struct CurveMappingcurve_rand_value
int input_samples
int flag

Detailed Description

These settings can override the equivalent fields in the active Brush for any paint mode; the flag field controls whether these values are used

Definition at line 1085 of file DNA_scene_types.h.

Member Data Documentation

◆ alpha

float UnifiedPaintSettings::alpha

◆ color

◆ color_jitter_flag

int UnifiedPaintSettings::color_jitter_flag

Unified color jitter settings

Definition at line 1110 of file DNA_scene_types.h.

Referenced by BKE_brush_color_jitter_get_settings(), and copy_unified_paint_settings().

◆ curve_rand_hue

◆ curve_rand_saturation

◆ curve_rand_value

◆ DNA_DEPRECATED [1/2]

float secondary_rgb [3] UnifiedPaintSettings::DNA_DEPRECATED

Definition at line 1107 of file DNA_scene_types.h.

◆ DNA_DEPRECATED [2/2]

float rgb [3] UnifiedPaintSettings::DNA_DEPRECATED

Definition at line 1106 of file DNA_scene_types.h.

◆ flag

◆ hsv_jitter

float UnifiedPaintSettings::hsv_jitter[3]

◆ input_samples

int UnifiedPaintSettings::input_samples

Unified brush stroke input samples.

Definition at line 1119 of file DNA_scene_types.h.

Referenced by BKE_brush_input_samples_get(), BKE_brush_input_samples_set(), blo_update_defaults_paint(), and paint_init_data().

◆ secondary_color

float UnifiedPaintSettings::secondary_color[3]

◆ size

◆ unprojected_size

float UnifiedPaintSettings::unprojected_size

◆ weight

float UnifiedPaintSettings::weight

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