FNetworkProfiler::TrackCompareProperties

Track time used to compare properties for a given object.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Net/NetworkProfiler.h

Include

#include "Net/NetworkProfiler.h"

Syntax

template<typename T, typename ProjectionType>
void TrackCompareProperties
(
    const UObject * Object,
    uint32 Cycles,
    TBitArray<> & PropertiesCompared,
    TBitArray<> & PropertiesThatChanged,
    const TArray< T > & PropertyNameContainers,
    ProjectionType PropertyNameProjection
)

Remarks

Track time used to compare properties for a given object.

Parameters

Parameter

Description

Object

Object being replicated

Cycles

The number of CPU Cycles we spent comparing the properties for this object.

PropertiesCompared

The properties that were compared (only tracks top level properties).

PropertiesThatChanged

The properties that actually changed (only tracks top level properties).

PropertyNameContainers

Array of items that we can convert to property names if we need to export them (should only happen the first time we see a given object).

PropertyNameProjection

Project that can be used to convery a PropertyNameContainer to a usable property name.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss