AConcertClientPresenceActor

A ConcertClientPresenceActor is a transient actor representing other client presences during a concert client session.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ConcertSyncClient

Header

/Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncClient/Source/ConcertSyncClient/Public/ConcertClientPresenceActor.h

Include

#include "ConcertClientPresenceActor.h"

Syntax

UCLASS(Abstract, Transient, NotPlaceable, Blueprintable)
class AConcertClientPresenceActor : public AActor

Remarks

A ConcertClientPresenceActor is a transient actor representing other client presences during a concert client session.

Variables

Name Description

Protected variable UProperty Category, Meta BlueprintReadOnly

FName

 

PresenceDeviceType

The device type that this presence represent (i.e Oculus, Vive, Desktop)

Protected variable UProperty Category, Meta BlueprintReadWrite visibleanywhere

TObjectPtr< USt...

 

PresenceMeshComponent

The camera mesh component to show visually where the camera is placed

Protected variable UProperty

TObjectPtr< UMa...

 

PresenceMID

Dynamic material for the presence actor

Protected variable

TOptional< FCon...

 

PresenceMovement

Movement object to interpolate presence movement between update events.

Protected variable UProperty Category, Meta BlueprintReadWrite visibleanywhere

TObjectPtr< UTe...

 

PresenceTextComponent

The text render component to display the associated client's name

Protected variable UProperty

TObjectPtr< UMa...

 

TextMID

Dynamic material for the presence text

Constructors

Name Description

Public function

AConcertClientPresenceActor

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual

void

 

HandleEvent

(
    const FStructOnScope& InEvent
)

Handle presence event received from the session for this actor

Public function Virtual

void

 

InitPresence

(
    const UConcertAssetContainer& InAs...,
    FName DeviceType
)

Initialize the presence actor from a set of assets representing HMD, controllers and desktops

Public function Virtual

void

 

SetPresenceColor

(
    const FLinearColor& InColor
)

Set the presence color. Called by the presence manager to set the color of the client on the actor.

Public function Virtual

void

 

SetPresenceName

(
    const FString& InName
)

Set the presence name.

Overridden from AActor

Name Description

Public function Virtual Const

bool

 

IsListedInSceneOutliner()

Returns true if this actor should be shown in the scene outliner

Public function Virtual Const

bool

 

IsSelectable()

Returns true if this actor can EVER be selected in a level in the editor.

Public function Virtual Const

bool

 

ShouldTickIfViewportsOnly()

If true, actor is ticked even if TickType==LEVELTICK_ViewportsOnly

Public function Virtual

void

 

Tick

(
    float DeltaSeconds
)

Function called every frame on this Actor.

Overridden from UObject

Name Description

Public function Virtual Const

bool

 

IsEditorOnly()

AActor interface