Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/SceneManagement.h |
| Include | #include "SceneManagement.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveDrawingUtils.cpp |
FLinearColor GetSelectionColor
(
const FLinearColor & BaseColor,
bool bSelected,
bool bHovered,
bool bUseOverlayIntensity
)
Remarks
Given a base color and a selection state, returns a color which accounts for the selection state. The color to draw the object with, accounting for the selection state
Parameters
| Name | Description |
|---|---|
| BaseColor | The base color of the object. |
| bSelected | The selection state of the object. |
| bHovered | True if the object has hover focus |
| bUseOverlayIntensity | True if the selection color should be modified by the selection intensity |