Class NDMFSyncContext
The default unity synchronization context runs in the context of the Player Loop, which blocks access to R/O
mesh data. As such, NDMF provides a synchronization context which runs in the context of
EditorApplication.delayCall
instead.
public static class NDMFSyncContext
- Inheritance
-
NDMFSyncContext
- Inherited Members
Fields
Context
public static SynchronizationContext Context
Field Value
Methods
Scope()
Switches to the NDMF synchronization context, and returns an IDisposable which will restore the prior synchronization context.
public static IDisposable Scope()