class

CArcViewportPaint

Module
Arc
Header
#include "Arc/Widgets/CArcViewportPaint.h"
Namespace
Arcf

Public functions

ReturnsNameDescription
voidOverlayPlateThe viewport-overlay plate: Surface1, PanelBorder, radius 6.
voidPaneFrameA viewport-pane frame: radius 4, PanelBorder, BorderStrong hovered, AccentColor on the active pane (Selected).
voidPaneLabelA pane's camera / view-mode label on its overlay plate, inset 6 at the top-left, 26 tall.
ArcVec2MeasureStatsThe stats overlay: label / value rows in Numeric, columns 16 apart, labels TextSecondary, values TextBright and right-aligned.
voidStats
voidSelectionOutlineA 1 px AccentColor frame round the selection and its name chip above it; capsule rounds it fully (physics bodies).
voidBrushCursorThe brush cursor projected to the screen: the 2 px inner ring at radius × (1 − falloff), the dashed 1 px outer ring at the full radius, the 8 px centre and the Numeric readout under it.
voidControlGizmoA Control Rig control in the viewport, sized from the spec (30, 36 or 48 for circles; 30 or 60 for boxes) and coloured by state.
voidQualityCardFrameThe quality-card frame: SurfaceFlyout, BorderNormal, radius 6 and the popup shadow (none in High Contrast).

Function details

OverlayPlate

C++
static void OverlayPlate(CArcUIRenderer& renderer, const ArcRect& rect, float opacity = 1.0f)

The viewport-overlay plate: Surface1, PanelBorder, radius 6.

PaneFrame

C++
static void PaneFrame(CArcUIRenderer& renderer, const ArcRect& rect, Mowo::EArcSpecState state, float opacity = 1.0f)

A viewport-pane frame: radius 4, PanelBorder, BorderStrong hovered, AccentColor on the active pane (Selected).

PaneLabel

C++
static void PaneLabel(CArcUIRenderer& renderer, const ArcRect& pane, const std::string& label, float opacity = 1.0f)

A pane's camera / view-mode label on its overlay plate, inset 6 at the top-left, 26 tall.

MeasureStats

C++
static ArcVec2 MeasureStats(CArcUIRenderer& renderer, const std::vector<FArcViewportStat>& stats)

The stats overlay: label / value rows in Numeric, columns 16 apart, labels TextSecondary, values TextBright and right-aligned.

Stats

C++
static void Stats(CArcUIRenderer& renderer, const ArcVec2& topLeft, const std::vector<FArcViewportStat>& stats, float opacity = 1.0f)

SelectionOutline

C++
static void SelectionOutline(CArcUIRenderer& renderer, const ArcRect& bounds, const std::string& label, bool capsule = false, float opacity = 1.0f)

A 1 px AccentColor frame round the selection and its name chip above it; capsule rounds it fully (physics bodies).

BrushCursor

C++
static void BrushCursor(CArcUIRenderer& renderer, const ArcVec2& centre, float radius, float falloff, const std::string& label, Mowo::EArcSpecState state, float opacity = 1.0f)

The brush cursor projected to the screen: the 2 px inner ring at radius × (1 − falloff), the dashed 1 px outer ring at the full radius, the 8 px centre and the Numeric readout under it. The state is Default, Pressed (painting), Disabled (no target) or Error (target locked).

ControlGizmo

C++
static void ControlGizmo(CArcUIRenderer& renderer, const ArcVec2& centre, EArcControlShape shape, float size, Mowo::EArcSpecState state, float opacity = 1.0f)

A Control Rig control in the viewport, sized from the spec (30, 36 or 48 for circles; 30 or 60 for boxes) and coloured by state.

QualityCardFrame

C++
static void QualityCardFrame(CArcUIRenderer& renderer, const ArcRect& rect, float opacity = 1.0f)

The quality-card frame: SurfaceFlyout, BorderNormal, radius 6 and the popup shadow (none in High Contrast).

Generated from Arc/Widgets/CArcViewportPaint.h via arc.json · Nov 5, 2026Version 1.0.0