Navigation
API > API/Plugins > API/Plugins/ConcertSyncClient
Base class for Multi-User PresenceMode. PresenceMode are used to send avatar-specific presence events and cache avatar-related state for the current client.
Adding a new presence avatar type requires the following:
1) Add a presence mode class inherited from IConcertClientBasePresenceMode to send events and cache state, if needed, for the current client. 2) Add a presence actor class to handle events and display the avatar for remote clients.
| Name | IConcertClientBasePresenceMode |
| Type | class |
| Header File | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncClient/Source/ConcertSyncClient/Public/IConcertClientPresenceMode.h |
| Include Path | #include "IConcertClientPresenceMode.h" |
Syntax
class IConcertClientBasePresenceMode
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IConcertClientBasePresenceMode() |
IConcertClientPresenceMode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddReferencedObjects
(
FReferenceCollector& Collector |
Collects any reference to UObject the mode may have Called by the presence manager in its own AddReferencedObjects | IConcertClientPresenceMode.h | |
FTransform GetTransform() |
Get the current presence transform | IConcertClientPresenceMode.h | |
| Get the VR device type represented by this presence mode. | IConcertClientPresenceMode.h | ||
void SendEvents
(
IConcertClientSession& Session |
Send events for this presence mode This will be called by the presence manager during tick. | IConcertClientPresenceMode.h |