net.QuantizeActorScaleOnSpawn

net.QuantizeActorScaleOnSpawn

#Overview

name: net.QuantizeActorScaleOnSpawn

This variable is created as a Console Variable (cvar).

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/PackageMapClient.cpp:194

Scope: file

Source code excerpt:

static bool GbQuantizeActorScaleOnSpawn = false;
static FAutoConsoleVariableRef CVarQuantizeActorScaleOnSpawn(
	TEXT("net.QuantizeActorScaleOnSpawn"),
	GbQuantizeActorScaleOnSpawn,
	TEXT("When enabled, we will quantize Scale for newly spawned actors to a single decimal of precision.")
);

static bool GbQuantizeActorLocationOnSpawn = true;
static FAutoConsoleVariableRef CVarQuantizeActorLocationOnSpawn(

#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/Net/Iris/ReplicationSystem/ActorReplicationBridgeInternal.cpp:257

Scope (from outer to inner):

file
namespace    UE::Net::Private
function     uint32 GetActorReplicationBridgeSpawnInfoFlags

Source code excerpt:

	{
		bool bQuantizeActorScaleOnSpawn = false;
		IConsoleVariable* CVar = IConsoleManager::Get().FindConsoleVariable(TEXT("net.QuantizeActorScaleOnSpawn"));
		if (ensure(CVar))
		{
			bQuantizeActorScaleOnSpawn = CVar->GetBool();
		}
		Flags |= bQuantizeActorScaleOnSpawn ? EActorReplicationBridgeSpawnInfoFlags_QuantizeScale : 0U;
	}