Table of Contents

Class NDMFSyncContext

Namespace
nadena.dev.ndmf.preview

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

SynchronizationContext

Methods

Scope()

Switches to the NDMF synchronization context, and returns an IDisposable which will restore the prior synchronization context.

public static IDisposable Scope()

Returns

IDisposable