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