Navigation
API > API/Runtime > API/Runtime/AugmentedReality
| Name | AARSharedWorldGameMode |
| Type | class |
| Header File | /Engine/Source/Runtime/AugmentedReality/Public/ARSharedWorldGameMode.h |
| Include Path | #include "ARSharedWorldGameMode.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class AARSharedWorldGameMode : public AGameMode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → AInfo → AGameModeBase → AGameMode → AARSharedWorldGameMode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AARSharedWorldGameMode
(
const FObjectInitializer& ObjectInitializer |
ARSharedWorldGameMode.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BufferSizePerChunk | int32 | The size of the buffer to use per send request. | ARSharedWorldGameMode.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bShouldSendSharedWorldData | bool | Tracks whether the data should be sent to all clients or not | ARSharedWorldGameMode.h | |
| PlayerToReplicationStateMap | TMap< AARSharedWorldPlayerController *, FARSharedWorldReplicationState > | Holds the progress for each player that is being replicated to | ARSharedWorldGameMode.h | |
| SendBuffer | TArray< uint8 > | Scratch buffer for sending chunks, cached to avoid allocation churn | ARSharedWorldGameMode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AARSharedWorldGameState * GetARSharedWorldGameState() |
ARSharedWorldGameMode.h |
|
|
void SetARSharedWorldData
(
TArray< uint8 > ARWorldData |
Sets the image data for the shared world game session | ARSharedWorldGameMode.h |
|
void SetARWorldSharingIsReady() |
Tells the game mode that the AR data is ready and should be replicated to all connected clients | ARSharedWorldGameMode.h |
|
void SetPreviewImageData
(
TArray< uint8 > ImageData |
Sets the image data for the shared world game session | ARSharedWorldGameMode.h |
|