Skip to main content

MaskInteractionPrefs

MaskInteractionPrefs

User preferences for mask interaction tools.

#include <MediaWidgetStateData.hpp>

Public Attributes

Name
int brush_size
Brush size in pixels.
bool hover_circle_visible
Show brush preview circle on hover.
bool allow_empty_mask
Whether to preserve empty masks during brush removal.
float selection_threshold
Scene-pixel distance for mask selection.

Public Attributes Documentation

variable brush_size

int brush_size = 15;

Brush size in pixels.

variable hover_circle_visible

bool hover_circle_visible = true;

Show brush preview circle on hover.

variable allow_empty_mask

bool allow_empty_mask = false;

Whether to preserve empty masks during brush removal.

variable selection_threshold

float selection_threshold = 5.0f;

Scene-pixel distance for mask selection.


Updated on 2026-11-13 at 20:25:39 +0000