fx.ForceExecVMPath
fx.ForceExecVMPath
#Overview
name: fx.ForceExecVMPath
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
If < 0, the legacy VM path will be used, if > 0 the experimental version will be used, and the default if 0. \n
It is referenced in 2
C++ source files.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraScriptExecutionContext.cpp:28
Scope: file
Source code excerpt:
static int32 GbForceExecVMPath = 0;
static FAutoConsoleVariableRef CVarNiagaraForceExecVMPath(
TEXT("fx.ForceExecVMPath"),
GbForceExecVMPath,
TEXT("If < 0, the legacy VM path will be used, if > 0 the experimental version will be used, and the default if 0. \n"),
ECVF_Default
);
FNiagaraScriptExecutionContextBase::FNiagaraScriptExecutionContextBase()
#Loc: <Workspace>/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraSettings.h:159
Scope (from outer to inner):
file
class class UNiagaraSettings : public UDeveloperSettings
Source code excerpt:
True indicates that we will generate byte code for the new optimized VM. Control over whether the new VM will
be used when executing NiagaraScripts will also take into account the overrides on the system (bDisableExperimentalVM) and
the cvars fx.NiagaraScript.StripByteCodeOnLoad and fx.ForceExecVMPath.
*/
UPROPERTY(config, EditAnywhere, Category = Niagara, meta = (DisplayName = "Enable building data for Optimized VM"))
bool bExperimentalVMEnabled = false;
/**
Enables Lightweight Emitters experimental feature.
Statless emitters are lightweight fixed function emitters, they are not fully programmable like regular emitters and do not run scripts on the CPU.
Particle data is extrapolated per frame for the current particle age. This means we never store particle data, we only generate it on demand.
Systems that contain only lightweight emitters and no system script modules can take advantage of a much faster path to execute.
** There is no guarantee on backwards compatability for this feature currently. Do not ship lightweight content. **