LinearColors::SelectColor

Select a Color from a fixed color palette based on given Index

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Util/ColorConstants.h

Include

#include "Util/ColorConstants.h"

Syntax

namespace LinearColors
{
    template<typename VectorType>
    VectorType LinearColors::SelectColor
    (
        int32 Index
    )
}

Remarks

Select a Color from a fixed color palette based on given Index

Returns

Color selected from a fixed set, or White if Index < 0

Parameters

Parameter

Description

Index

arbitrary integer

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss