r.HairStrands.Enable
r.HairStrands.Enable
#Overview
name: r.HairStrands.Enable
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Enable/Disable the entire hair strands system. This affects all geometric representations (i.e., strands, cards, and meshes).
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/GroomVisualizationData.cpp:11
Scope: file
Source code excerpt:
static TAutoConsoleVariable<int32> CVarHairStrandsGlobalEnable(
TEXT("r.HairStrands.Enable"), 1,
TEXT("Enable/Disable the entire hair strands system. This affects all geometric representations (i.e., strands, cards, and meshes)."),
ECVF_RenderThreadSafe | ECVF_Scalability);
bool IsGroomEnabled()
{
return GHairStrandsPluginEnable > 0 && CVarHairStrandsGlobalEnable.GetValueOnAnyThread() > 0;