FNiagaraPlatformSetCVarCondition

Imposes a condition that a CVar must contain a set value or range of values for a platform set to be enabled.

Windows
MacOS
Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraPlatformSet.h

Include

#include "NiagaraPlatformSet.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)()
struct FNiagaraPlatformSetCVarCondition

Remarks

Imposes a condition that a CVar must contain a set value or range of values for a platform set to be enabled.

Variables

Name Description

Public variable UProperty Category, EditAnywhere, Meta

uint32: 1

 

bUseMaxFloat

True if we should apply the maximum restriction for float CVars.

Public variable UProperty Category, EditAnywhere, Meta

uint32: 1

 

bUseMaxInt

True if we should apply the maximum restriction for int CVars.

Public variable UProperty Category, EditAnywhere, Meta

uint32: 1

 

bUseMinFloat

True if we should apply the minimum restriction for float CVars.

Public variable UProperty Category, EditAnywhere, Meta

uint32: 1

 

bUseMinInt

True if we should apply the minimum restriction for int CVars.

Public variable UProperty Category, EditAnywhere

FName

 

CVarName

The name of the CVar we're testing the value of.

Public variable UProperty Category, EditAnywhere, Meta

float

 

MaxFloat

If the value of the CVar is greater than this maximum then the PlatformSet will not be enabled.

Public variable UProperty Category, EditAnywhere, Meta

int32

 

MaxInt

If the value of the CVar is greater than this maximum then the PlatformSet will not be enabled.

Public variable UProperty Category, EditAnywhere, Meta

float

 

MinFloat

If the value of the CVar is less than this minimum then the PlatformSet will not be enabled.

Public variable UProperty Category, EditAnywhere, Meta

int32

 

MinInt

If the value of the CVar is less than this minimum then the PlatformSet will not be enabled.

Public variable UProperty Category, EditAnywhere, Meta

bool

 

Value

The value this CVar must contain for this platform set to be enabled.

Constructors

Functions

Name Description

Public function Const

bool

 

CheckValue

(
    bool CVarValue
)

Public function Const

bool

 

CheckValue

(
    int32 CVarValue
)

Public function Const

bool

 

CheckValue

(
    float CVarValue
)

Public function Const

IConsoleVari...

 

GetCVar()

Returns the CVar for this condition.

Public function Const

T

 

GetCVarValue

(
    IConsoleVariable* CVar
)

Public function Const

bool

 

GetCVarValue

(
    IConsoleVariable* CVar
)

Public function Const

int32

 

GetCVarValue

(
    IConsoleVariable* CVar
)

Public function Const

float

 

GetCVarValue

(
    IConsoleVariable* CVar
)

Public function Const

bool

 

IsEnabledForDeviceProfile

(
    const UDeviceProfile* DevicePr...,
    bool bCheckCurrentStateOnly
)

Return true if this is met by the given device profile.

Public function Const

bool

 

IsEnabledForDeviceProfile_Internal

(
    const UDeviceProfile* DevicePr...,
    bool bCheckCurrentStateOnly
)

Public function Const

bool

 

IsEnabledForPlatform

(
    const FString& PlatformName
)

Returns true if this is ever met for any device profile for the given platform.

Public function Static

void

 

OnCVarChanged

(
    IConsoleVariable* CVar
)

Public function

void

 

SetCVar

(
    FName InCVarName
)

Constants

Name

Description

ChangedDelegateHandlesCritSec

CVarChangedDelegateHandles

Callbacks for any CVars Niagara has looked at during this run.

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