UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AsyncPhysicsData.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "AsyncPhysicsData.generated.h"
6
12UCLASS(BlueprintType, Blueprintable, MinimalAPI)
14{
16public:
17 virtual ~UAsyncPhysicsData() = default;
18 int32 GetServerFrame() const { return ServerFrame; }
19
20private:
21 UPROPERTY()
22 int32 ServerFrame = INDEX_NONE;
24
25 //Determines how many times we redundantly send data to server. The higher this number the less packet loss, but more bandwidth is used
26 UPROPERTY(EditDefaultsOnly, Category = AsyncPhysicsData)
27 int32 ReplicationRedundancy = 4;
28
30};
@ INDEX_NONE
Definition CoreMiscDefines.h:150
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition AsyncPhysicsData.h:14
virtual ~UAsyncPhysicsData()=default
int32 GetServerFrame() const
Definition AsyncPhysicsData.h:18
Definition AsyncPhysicsInputComponent.h:11
Definition Object.h:95