r.MorphTarget.MaxBlendWeight
r.MorphTarget.MaxBlendWeight
#Overview
name: r.MorphTarget.MaxBlendWeight
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Maximum value accepted as a morph target blend weight..\nBlend target weights will be checked against this value for validation.Values smaller than this number will be clamped.\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/Source/Runtime/Engine/Private/SkeletalRender.cpp:26
Scope: file
Source code excerpt:
static float GMorphTargetMaxBlendWeight = 5.f;
static FAutoConsoleVariableRef CVarMorphTargetMinBlendWeight(
TEXT("r.MorphTarget.MaxBlendWeight"),
GMorphTargetMaxBlendWeight,
TEXT("Maximum value accepted as a morph target blend weight..\n")
TEXT("Blend target weights will be checked against this value for validation.Values smaller than this number will be clamped.\n"),
ECVF_Default
);
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/SkeletalRender.cpp:37
Scope (from outer to inner):
file
namespace UE::SkeletalRender::Settings
function float GetMorphTargetMaxBlendWeight
Source code excerpt:
float GetMorphTargetMaxBlendWeight()
{
static const IConsoleVariable* MorphTargetMaxBlendWeightCVar = IConsoleManager::Get().FindConsoleVariable(TEXT("r.MorphTarget.MaxBlendWeight"));
return (MorphTargetMaxBlendWeightCVar != nullptr) ? MorphTargetMaxBlendWeightCVar->GetFloat() : GetDefault<URendererSettings>()->MorphTargetMaxBlendWeight;
}
}
#if RHI_RAYTRACING