SetDefine

Overload list

Windows
MacOS
Linux
Name Description

Public function

void

 

SetDefine

(
    const TCHAR* Name,
    const TCHAR* Value
)

Works for TCHAR e.g. SetDefine(TEXT("NUM_SAMPLES"), TEXT("1"));

Public function

void

 

SetDefine

(
    const TCHAR* Name,
    uint32 Value
)

Works for uint32 and bool e.g. OutEnvironment.SetDefine(TEXT("REALLY"), bReally); e.g. OutEnvironment.SetDefine(TEXT("NUM_SAMPLES"), NumSamples);

Public function

void

 

SetDefine

(
    const TCHAR* Name,
    int32 Value
)

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