public sealed class Color3DrawerThe same swatch and picker, over a colour with no alpha.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ A separate drawer rather than a coercion in ColorDrawer, because a drawer is chosen by the member's exact type. Color3 had none at all, so every member of that type fell through to the read-only last resort — which for a light's colour meant the one property people open a light to change was a line of grey text. It is the type the renderer uses for anything with no meaningful alpha, so Light.Colour is not the only member this reaches.
⚠ Alpha is refused rather than defaulted. ColorUsage can still ask for HDR — an emissive tint wants an intensity above one, and Color3 is exactly the type such a tint has — but a picker offering an alpha band for a value with nowhere to put one is a control that silently drops what it was told.
Methods (2)
protected override ColorInput Build(InspectorField field, UiElement parent)Makes the controls, once.
protected override void Show(InspectorField field, ColorInput editor, Color3 value, bool isMixed)Puts the current value into the controls.
Used by (1)
- DrawerRegistryVixen.Editor.Inspector