Navigation
API > API/Runtime > API/Runtime/AugmentedReality
| Name | AARSharedWorldGameState |
| Type | class |
| Header File | /Engine/Source/Runtime/AugmentedReality/Public/ARSharedWorldGameState.h |
| Include Path | #include "ARSharedWorldGameState.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class AARSharedWorldGameState : public AGameState
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → AInfo → AGameStateBase → AGameState → AARSharedWorldGameState
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AARSharedWorldGameState
(
const FObjectInitializer& ObjectInitializer |
ARSharedWorldGameState.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ARWorldBytesDelivered | int32 | The amount of the AR world data that has been replicated to this client so far | ARSharedWorldGameState.h |
|
| ARWorldBytesTotal | int32 | The size of the AR world data that will be replicated to each client | ARSharedWorldGameState.h |
|
| ARWorldData | TArray< uint8 > | Each client and the host have a copy of the shared world data | ARSharedWorldGameState.h |
|
| PreviewImageBytesDelivered | int32 | The amount of the preview image data that has been replicated to this client so far | ARSharedWorldGameState.h |
|
| PreviewImageBytesTotal | int32 | The size of the image that will be replicated to each client | ARSharedWorldGameState.h |
|
| PreviewImageData | TArray< uint8 > | 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 | ARSharedWorldGameState.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFiredCompletionEvent | bool | ARSharedWorldGameState.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitSharedWorld
(
int32 PreviewImageSize, |
Used to setup the initial values and size the arrays (client) | ARSharedWorldGameState.h | |
void K2_OnARWorldMapIsReady() |
ARSharedWorldGameState.h |
|
|
void UpdateARWorldData
(
int32 Offset, |
Copies the buffer into the AR world data (client) | ARSharedWorldGameState.h | |
void UpdatePreviewImageData
(
int32 Offset, |
Copies the buffer into the image data (client) | ARSharedWorldGameState.h |