r.WireframeCullThreshold
r.WireframeCullThreshold
#Overview
name: r.WireframeCullThreshold
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Threshold below which objects in ortho wireframe views will be culled.
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/Source/Runtime/Engine/Classes/Engine/RendererSettings.h:1017
Scope (from outer to inner):
file
class class URendererSettings : public UDeveloperSettings
Source code excerpt:
UPROPERTY(config, EditAnywhere, Category=Editor, meta=(
ConsoleVariable="r.WireframeCullThreshold",DisplayName="Wireframe Cull Threshold",
ToolTip="Screen radius at which wireframe objects are culled. Larger values can improve performance when viewing a scene in wireframe."))
float WireframeCullThreshold;
/**
"Stationary skylight requires permutations of the basepass shaders. Disabling will reduce the number of shader permutations required per material. Changing this setting requires restarting the editor."
*/
#Loc: <Workspace>/Engine/Source/Runtime/Renderer/Private/SceneVisibility.cpp:56
Scope: file
Source code excerpt:
static float GWireframeCullThreshold = 5.0f;
static FAutoConsoleVariableRef CVarWireframeCullThreshold(
TEXT("r.WireframeCullThreshold"),
GWireframeCullThreshold,
TEXT("Threshold below which objects in ortho wireframe views will be culled."),
ECVF_RenderThreadSafe
);
float GMinScreenRadiusForLights = 0.03f;