AARSharedWorldGameState

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AugmentedReality

Header

/Engine/Source/Runtime/AugmentedReality/Public/ARSharedWorldGameState.h

Include

#include "ARSharedWorldGameState.h"

Syntax

class AARSharedWorldGameState : public AGameState

Variables

Name Description

Public variable

int32

 

ARWorldBytesDelivered

The amount of the AR world data that has been replicated to this client so far

Public variable

int32

 

ARWorldBytesTotal

The size of the AR world data that will be replicated to each client

Public variable

TArray< uint8 >

 

ARWorldData

Each client and the host have a copy of the shared world data

Public variable

int32

 

PreviewImageBytesDelivered

The amount of the preview image data that has been replicated to this client so far

Public variable

int32

 

PreviewImageBytesTotal

The size of the image that will be replicated to each client

Public variable

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

Name Description

Public function

AARSharedWorldGameState

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

InitSharedWorld

(
    int32 PreviewImageSize,
    int32 ARWorldDataSize
)

Used to setup the initial values and size the arrays (client)

Public function

void

 

K2_OnARWorldMapIsReady()

Public function

void

 

UpdateARWorldData

(
    int32 Offset,
    const uint8* Buffer,
    int32 Size
)

Copies the buffer into the AR world data (client)

Public function

void

 

UpdatePreviewImageData

(
    int32 Offset,
    const uint8* Buffer,
    int32 Size
)

Copies the buffer into the image data (client)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss