GetSelectionColor

Given a base color and a selection state, returns a color which accounts for the selection state.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneManagement.h

Include

#include "SceneManagement.h"

Source

/Engine/Source/Runtime/Engine/Private/PrimitiveDrawingUtils.cpp

Syntax

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.

Returns

The color to draw the object with, accounting for the selection state

Parameters

Parameter

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback