bStripAnimationDataOnDedicatedServer
bStripAnimationDataOnDedicatedServer
#Overview
name: bStripAnimationDataOnDedicatedServer
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEngine.ini:3377, section: [/Script/Engine.AnimationSettings]
- INI Section:
/Script/Engine.AnimationSettings
- Raw value:
False
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Classes/Animation/AnimationSettings.h:57
Scope (from outer to inner):
file
class class UAnimationSettings : public UDeveloperSettings
Source code excerpt:
/** If true, animation track data will be stripped from dedicated server cooked data */
UPROPERTY(config, EditAnywhere, Category = Performance)
bool bStripAnimationDataOnDedicatedServer;
/** If true, pre-4.19 behavior of zero-ticking animations during skeletal mesh init */
UPROPERTY(config, EditAnywhere, Category = Performance)
bool bTickAnimationOnSkeletalMeshInit;
/** Names that identify bone animation attributes representing the individual components of a timecode and a subframe along with a take name.
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/Animation/AnimSequence.cpp:690
Scope (from outer to inner):
file
function void UAnimSequence::Serialize
Source code excerpt:
const bool bIsCountingMemory = Ar.IsCountingMemory();
const bool bStripAnimDataOnDedicatedServer = StripAnimDataOnDedicatedServer == EStripAnimDataOnDedicatedServerSettings::UseProjectSetting ? UAnimationSettings::Get()->bStripAnimationDataOnDedicatedServer :
StripAnimDataOnDedicatedServer == EStripAnimDataOnDedicatedServerSettings::StripAnimDataOnDedicatedServer;
const bool bCookingTargetNeedsCompressedData = bIsCooking && (!bStripAnimDataOnDedicatedServer || !bIsCookingWithoutAVData || bEnableRootMotion);
bool bSerializeCompressedData = bCookingTargetNeedsCompressedData || bIsDuplicating || bIsTransacting || bIsCountingMemory;
Ar << bSerializeCompressedData;