fx.Niagara.NDIStaticMesh.UseInlineLODsOnly
fx.Niagara.NDIStaticMesh.UseInlineLODsOnly
#Overview
name: fx.Niagara.NDIStaticMesh.UseInlineLODsOnly
This variable is created as a Console Variable (cvar).
- type: Var
- help: When enabled Niagara will never use streaming LOD levels, only inline LODs.0 = Streaming LODs can be sampled.1 = Only inlined LODs can be sampled.2 = Only inlined LODs can be sampled by default but each DI can override this if desired.
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/DataInterface/NiagaraDataInterfaceStaticMesh.cpp:111
Scope (from outer to inner):
file
namespace    NDIStaticMeshLocal
Source code excerpt:
	static int32 GNDIStaticMesh_UseInlineLODsOnly = 2;
	static FAutoConsoleVariableRef CVarNDIStaticMesh_UseInlineLODsOnly(
		TEXT("fx.Niagara.NDIStaticMesh.UseInlineLODsOnly"),
		GNDIStaticMesh_UseInlineLODsOnly,
		TEXT("When enabled Niagara will never use streaming LOD levels, only inline LODs."
		"0 = Streaming LODs can be sampled."
		"1 = Only inlined LODs can be sampled."
		"2 = Only inlined LODs can be sampled by default but each DI can override this if desired. "),
		ECVF_Default
#Loc: <Workspace>/Engine/Plugins/FX/Niagara/Source/Niagara/Internal/DataInterface/NiagaraDataInterfaceStaticMesh.h:96
Scope (from outer to inner):
file
class        class UNiagaraDataInterfaceStaticMesh : public UNiagaraDataInterface
Source code excerpt:
    bool bUsePhysicsBodyVelocity = false;
	/** When true, we allow this DI to sample from streaming LODs. Selectively overriding the CVar fx.Niagara.NDIStaticMesh.UseInlineLODsOnly. */
	UPROPERTY(EditAnywhere, Category = "LOD")
	bool bAllowSamplingFromStreamingLODs = false;
	/** 
	Static Mesh LOD to sample.
	When the desired LOD is not available, the next available LOD is used.