Synced
EditorPalette.WithOpacity
Section titled “EditorPalette.WithOpacity”
- Returns a theme color with a caller-selected opacity, normally one of the shared opacity levels.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public static System.Numerics.Vector4 Inno.Editor.ImGui.EditorPalette.WithOpacity(System.Numerics.Vector4 color, float opacity)Parameters
Section titled “Parameters”Parameter color: Base RGB color.
Parameter opacity: Replacement alpha in the inclusive zero-to-one range.
Returns
Section titled “Returns”The validated vector4 that represents the completed operation.