Navigation
API > API/Plugins > API/Plugins/Niagara
Imposes a condition that a CVar must contain a set value or range of values for a platform set to be enabled.
| Name | FNiagaraPlatformSetCVarCondition |
| Type | struct |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraPlatformSet.h |
| Include Path | #include "NiagaraPlatformSet.h" |
Syntax
USTRUCT ()
struct FNiagaraPlatformSetCVarCondition
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNiagaraPlatformSetCVarCondition() |
NiagaraPlatformSet.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseMaxFloat | uint32 | True if we should apply the maximum restriction for float CVars. | NiagaraPlatformSet.h |
|
| bUseMaxInt | uint32 | True if we should apply the maximum restriction for int CVars. | NiagaraPlatformSet.h |
|
| bUseMinFloat | uint32 | True if we should apply the minimum restriction for float CVars. | NiagaraPlatformSet.h |
|
| bUseMinInt | uint32 | True if we should apply the minimum restriction for int CVars. | NiagaraPlatformSet.h |
|
| CVarName | FName | The name of the CVar we're testing the value of. | NiagaraPlatformSet.h |
|
| FailResponse | ENiagaraCVarConditionResponse | If this CVar condition fails, how should this affect the state of the Platform Set? | NiagaraPlatformSet.h |
|
| MaxFloat | float | If the value of the CVar is greater than this maximum then the PlatformSet will not be enabled. | NiagaraPlatformSet.h |
|
| MaxInt | int32 | If the value of the CVar is greater than this maximum then the PlatformSet will not be enabled. | NiagaraPlatformSet.h |
|
| MinFloat | float | If the value of the CVar is less than this minimum then the PlatformSet will not be enabled. | NiagaraPlatformSet.h |
|
| MinInt | int32 | If the value of the CVar is less than this minimum then the PlatformSet will not be enabled. | NiagaraPlatformSet.h |
|
| PassResponse | ENiagaraCVarConditionResponse | If this CVar condition passes, how should this affect the state of the Platform Set? | NiagaraPlatformSet.h |
|
| Value | bool | The value this CVar must contain for this platform set to be enabled. | NiagaraPlatformSet.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedCVar | IConsoleVariable * | NiagaraPlatformSet.h | ||
| LastCachedFrame | uint32 | NiagaraPlatformSet.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CheckValue
(
bool CVarValue |
NiagaraPlatformSet.h | ||
bool CheckValue
(
int32 CVarValue |
NiagaraPlatformSet.h | ||
bool CheckValue
(
float CVarValue |
NiagaraPlatformSet.h | ||
bool Evaluate
(
const UDeviceProfile* DeviceProfile, |
Return true if this condition is met for the given device profile. | NiagaraPlatformSet.h | |
bool Evaluate_Internal
(
const UDeviceProfile* DeviceProfile, |
NiagaraPlatformSet.h | ||
IConsoleVariable * GetCVar () |
Returns the CVar for this condition. | NiagaraPlatformSet.h | |
T GetCVarValue
(
IConsoleVariable* CVar |
NiagaraPlatformSet.h | ||
bool GetCVarValue
(
IConsoleVariable* CVar |
|||
int32 GetCVarValue
(
IConsoleVariable* CVar |
|||
float GetCVarValue
(
IConsoleVariable* CVar |
|||
void SetCVar
(
FName InCVarName |
NiagaraPlatformSet.h |