CArcViewportPaint
- Module
- Arc
- Header
#include "Arc/Widgets/CArcViewportPaint.h"- Namespace
Arcf
Public functions
| Returns | Name | Description |
|---|---|---|
void | OverlayPlate | The viewport-overlay plate: Surface1, PanelBorder, radius 6. |
void | PaneFrame | A viewport-pane frame: radius 4, PanelBorder, BorderStrong hovered, AccentColor on the active pane (Selected). |
void | PaneLabel | A pane's camera / view-mode label on its overlay plate, inset 6 at the top-left, 26 tall. |
ArcVec2 | MeasureStats | The stats overlay: label / value rows in Numeric, columns 16 apart, labels TextSecondary, values TextBright and right-aligned. |
void | Stats | |
void | SelectionOutline | A 1 px AccentColor frame round the selection and its name chip above it; capsule rounds it fully (physics bodies). |
void | BrushCursor | 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. |
void | ControlGizmo | 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. |
void | QualityCardFrame | The quality-card frame: SurfaceFlyout, BorderNormal, radius 6 and the popup shadow (none in High Contrast). |
Function details
OverlayPlate
static void OverlayPlate(CArcUIRenderer& renderer, const ArcRect& rect, float opacity = 1.0f)The viewport-overlay plate: Surface1, PanelBorder, radius 6.
PaneFrame
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
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
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
static void Stats(CArcUIRenderer& renderer, const ArcVec2& topLeft, const std::vector<FArcViewportStat>& stats, float opacity = 1.0f)SelectionOutline
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
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
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
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).