AMagicLeapSharedWorldPlayerController

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MagicLeapSharedWorld

Header

/Engine/Plugins/Lumin/MagicLeapPassableWorld/Source/MagicLeapSharedWorld/Public/MagicLeapSharedWorldPlayerController.h

Include

#include "MagicLeapSharedWorldPlayerController.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class AMagicLeapSharedWorldPlayerController : public APlayerController

Constructors

Name Description

Public function

AMagicLeapSharedWorldPlayerController

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const UFunction BlueprintCallable, Category

bool

 

CanSendLocalDataToServer()

Getter to check if the current client can start sending local pins to the server

Public function UFunction Client, Reliable

void

 

ClientMarkReadyForSendingLocalData()

Marks the client ready to start sending local data to the server.

Public function UFunction BlueprintCallable, Category Client, Reliable

void

 

ClientSetChosenOne

(
    bool bChosenOne
)

Marks the client as the "chosen-one" or pseudo-authoritative for this shared world session.

Public function Const

const FMagic...

 

GetLocalWorldData()

Public function Const

bool

 

HasNewLocalWorldData()

Used by AMagicLeapSharedWorldGameMode to check if this client has updated local data.

Public function Const UFunction BlueprintCallable, Category

bool

 

IsChosenOne()

Getter to check if the current client is the chosen one

Public function

void

 

ResetHasNewLocalWorldData()

Public function UFunction BlueprintCallable, Category Server, Reliable

void

 

ServerSetAlignmentTransforms

(
    const FMagicLeapSharedWorldAlignmen...
)

Sets list of transforms to be used by all clients to align coordinate spaces.

Public function UFunction BlueprintCallable, Category Server, Reliable

void

 

ServerSetLocalWorldData

(
    const FMagicLeapSharedWorldLocalDat...
)

Updates list of pins local to a client on the server.

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