fx.Niagara.SystemSimulation.MaxTickSubsteps

fx.Niagara.SystemSimulation.MaxTickSubsteps

#Overview

name: fx.Niagara.SystemSimulation.MaxTickSubsteps

This variable is created as a Console Variable (cvar).

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/NiagaraSystemSimulation.cpp:124

Scope: file

Source code excerpt:

static int32 GNiagaraSystemSimulationMaxTickSubsteps = 100;
static FAutoConsoleVariableRef CVarNiagaraSystemSimulationMaxTickSubsteps(
	TEXT("fx.Niagara.SystemSimulation.MaxTickSubsteps"),
	GNiagaraSystemSimulationMaxTickSubsteps,
	TEXT("The max number of possible substeps per frame when a system uses a fixed tick delta."),
	ECVF_Default
);

namespace NiagaraSystemSimulationLocal

#Loc: <Workspace>/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraSystem.h:959

Scope: file

Source code excerpt:

	Note that activating this feature forces the system to tick on the game thread instead of an async task in parallel.

	The max number of substeps per frame can be set via fx.Niagara.SystemSimulation.MaxTickSubsteps
	*/
	UPROPERTY(EditAnywhere, Category = "System", meta = (EditCondition = "bFixedTickDelta", ForceUnits=s))
	float FixedTickDeltaTime = 0.01667f;

#if WITH_EDITORONLY_DATA
	/** Settings used inside the baker */
	UPROPERTY(Export)
	TObjectPtr<UNiagaraBakerSettings> BakerSettings;

	/** Generated data baker settings, will be null until we have generated at least once. */
	UPROPERTY(Export)
	TObjectPtr<UNiagaraBakerSettings> BakerGeneratedSettings;