Table of Contents

Interface ICoherenceBridge

Namespace
Coherence.Toolkit
Assembly
Coherence.Toolkit.dll
public interface ICoherenceBridge

Properties

AuthorityManager

AuthorityManager AuthorityManager { get; }

Property Value

AuthorityManager

AutoLoginAsGuest

bool AutoLoginAsGuest { get; }

Property Value

bool

Client

IClient Client { get; }

Property Value

IClient

ClientConnections

CoherenceClientConnectionManager ClientConnections { get; }

Property Value

CoherenceClientConnectionManager

ClientFixedSimulationFrame

long ClientFixedSimulationFrame { get; }

Property Value

long

ClientID

ClientID ClientID { get; }

Property Value

ClientID

CloudService

CloudService CloudService { get; }

Property Value

CloudService

ConnectionType

ConnectionType ConnectionType { get; }

Property Value

ConnectionType

EntitiesManager

EntitiesManager EntitiesManager { get; }

Property Value

EntitiesManager

FixedUpdateInput

FixedUpdateInput FixedUpdateInput { get; }

Property Value

FixedUpdateInput

GlobalQueryGameObject

GameObject GlobalQueryGameObject { get; set; }

Property Value

GameObject

GlobalQueryOn

bool GlobalQueryOn { get; set; }

Property Value

bool

InputManager

CoherenceInputManager InputManager { get; }

Property Value

CoherenceInputManager

InstantiationScene

Scene? InstantiationScene { get; }

Property Value

Scene?

IsConnected

bool IsConnected { get; }

Property Value

bool

IsConnecting

bool IsConnecting { get; }

Property Value

bool

IsSimulatorOrHost

bool IsSimulatorOrHost { get; }

Property Value

bool

Logger

Logger Logger { get; }

Property Value

Logger

NetworkPrefix

string NetworkPrefix { get; }

Property Value

string

NetworkTime

INetworkTime NetworkTime { get; }

Property Value

INetworkTime

NetworkTimeAsDouble

double NetworkTimeAsDouble { get; }

Property Value

double

OnAfterFloatingOriginShifted

Action<FloatingOriginShiftArgs> OnAfterFloatingOriginShifted { get; set; }

Property Value

Action<FloatingOriginShiftArgs>

Scene

Scene Scene { get; }

Property Value

Scene

Transform

Transform Transform { get; }

Property Value

Transform

UniquenessManager

UniquenessManager UniquenessManager { get; }

Property Value

UniquenessManager

Methods

Disconnect()

void Disconnect()

EntityIdToCoherenceSync(Entity)

CoherenceSync EntityIdToCoherenceSync(Entity from)

Parameters

from Entity

Returns

CoherenceSync

EntityIdToGameObject(Entity)

GameObject EntityIdToGameObject(Entity from)

Parameters

from Entity

Returns

GameObject

EntityIdToRectTransform(Entity)

RectTransform EntityIdToRectTransform(Entity from)

Parameters

from Entity

Returns

RectTransform

EntityIdToTransform(Entity)

Transform EntityIdToTransform(Entity from)

Parameters

from Entity

Returns

Transform

GetClientConnectionEntry()

CoherenceSyncConfig GetClientConnectionEntry()

Returns

CoherenceSyncConfig

GetCoherenceSyncForEntity(Entity)

ICoherenceSync GetCoherenceSyncForEntity(Entity id)

Parameters

id Entity

Returns

ICoherenceSync

GetFloatingOrigin()

Vector3d GetFloatingOrigin()

Returns

Vector3d

GetSimulatorConnectionEntry()

CoherenceSyncConfig GetSimulatorConnectionEntry()

Returns

CoherenceSyncConfig

OnNetworkEntityCreatedInvoke(NetworkEntityState)

void OnNetworkEntityCreatedInvoke(NetworkEntityState state)

Parameters

state NetworkEntityState

OnNetworkEntityDestroyedInvoke(NetworkEntityState, DestroyReason)

void OnNetworkEntityDestroyedInvoke(NetworkEntityState state, DestroyReason destroyReason)

Parameters

state NetworkEntityState
destroyReason DestroyReason

SetFloatingOrigin(Vector3d)

bool SetFloatingOrigin(Vector3d newOrigin)

Parameters

newOrigin Vector3d

Returns

bool

StartCoroutine(IEnumerator)

Coroutine StartCoroutine(IEnumerator routine)

Parameters

routine IEnumerator

Returns

Coroutine

TranslateFloatingOrigin(Vector3d)

bool TranslateFloatingOrigin(Vector3d translation)

Parameters

translation Vector3d

Returns

bool

TranslateFloatingOrigin(Vector3)

bool TranslateFloatingOrigin(Vector3 translation)

Parameters

translation Vector3

Returns

bool

UnityObjectToEntityId(CoherenceSync)

Entity UnityObjectToEntityId(CoherenceSync from)

Parameters

from CoherenceSync

Returns

Entity

UnityObjectToEntityId(GameObject)

Entity UnityObjectToEntityId(GameObject from)

Parameters

from GameObject

Returns

Entity

UnityObjectToEntityId(Transform)

Entity UnityObjectToEntityId(Transform from)

Parameters

from Transform

Returns

Entity

Events

OnConnectedInternal

event Action<ICoherenceBridge> OnConnectedInternal

Event Type

Action<ICoherenceBridge>

OnFixedNetworkUpdate

event Action OnFixedNetworkUpdate

Event Type

Action

OnLateFixedNetworkUpdate

event Action OnLateFixedNetworkUpdate

Event Type

Action

OnTimeReset

event Action OnTimeReset

Event Type

Action