Class SyncContextUtility
Utility class to assist in thread and context synchronization.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities
Assembly: cs.temp.dll.dll
Syntax
public static class SyncContextUtility
Properties
IsMainThread
Is this being called from the main thread?
Declaration
public static bool IsMainThread { get; }
Property Value
Type | Description |
---|---|
Boolean |
UnitySynchronizationContext
This Unity Player's Synchronization Context.
Declaration
public static SynchronizationContext UnitySynchronizationContext { get; }
Property Value
Type | Description |
---|---|
SynchronizationContext |
UnityThreadId
This Unity Player's Thread Id.
Declaration
public static int UnityThreadId { get; }
Property Value
Type | Description |
---|---|
Int32 |