AARSharedWorldPlayerController

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AugmentedReality

Header

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

Include

#include "ARSharedWorldPlayerController.h"

Syntax

class AARSharedWorldPlayerController : public APlayerController

Constructors

Name Description

Public function

AARSharedWorldPlayerController

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

ClientInitSharedWorld

(
    int32 PreviewImageSize,
    int32 ARWorldDataSize
)

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

Public function

void

 

ClientUpdateARWorldData

(
    int32 Offset,
    const TArray< uint8 >& Buffer
)

Copies the buffer into the AR world data (client)

Public function

void

 

ClientUpdatePreviewImageData

(
    int32 Offset,
    const TArray< uint8 >& Buffer
)

Copies the buffer into the image data (client)

Public function Const

bool

 

IsReadyToReceive()

Public function

void

 

ServerMarkReadyForReceiving()

Tells the server it is ready for receiving any shared world data