![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ARSharedWorldGameState.h>
Inheritance diagram for AARSharedWorldGameState:Public Attributes | |
| TArray< uint8 > | PreviewImageData |
| TArray< uint8 > | ARWorldData |
| int32 | PreviewImageBytesTotal |
| int32 | ARWorldBytesTotal |
| int32 | PreviewImageBytesDelivered |
| int32 | ARWorldBytesDelivered |
Public Attributes inherited from AGameState | |
| int32 | ElapsedTime |
Public Attributes inherited from AGameStateBase | |
| TSubclassOf< AGameModeBase > | GameModeClass |
| TObjectPtr< AGameModeBase > | AuthorityGameMode |
| TSubclassOf< ASpectatorPawn > | SpectatorClass |
| TArray< TObjectPtr< APlayerState > > | PlayerArray |
Used to setup the initial values and size the arrays (client)
| PreviewImageSize | the total size in bytes of the image data that will be sent |
| ARWorldDataSize | the total size in bytes of the AR world data that will be sent |
Copies the buffer into the AR world data (client)
| Offset | where in the buffer to start the copying |
| Buffer | the chunk of data to copy |
| BufferSize | the amount of data to copy |
| void AARSharedWorldGameState::UpdatePreviewImageData | ( | int32 | Offset, |
| const uint8 * | Buffer, | ||
| int32 | Size | ||
| ) |
Copies the buffer into the image data (client)
| Offset | where in the buffer to start the copying |
| Buffer | the chunk of data to copy |
| BufferSize | the amount of data to copy |
| int32 AARSharedWorldGameState::ARWorldBytesDelivered |
The amount of the AR world data that has been replicated to this client so far
| int32 AARSharedWorldGameState::ARWorldBytesTotal |
The size of the AR world data that will be replicated to each client
Each client and the host have a copy of the shared world data
| int32 AARSharedWorldGameState::PreviewImageBytesDelivered |
The amount of the preview image data that has been replicated to this client so far
| int32 AARSharedWorldGameState::PreviewImageBytesTotal |
The size of the image that will be replicated to each client
Each client and the host have a copy of the shared world data The image taken at the time of world saving for use when aligning the AR world later in the session