Synced
RuntimeSession
Section titled “RuntimeSession”
- Owns all mutable simulation, identity, asset, scheduling, and logging state for one isolated execution session.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Runtime
Declaration
Section titled “Declaration”public sealed class Inno.Runtime.RuntimeSession : System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | RuntimeSession.Dispose | Releases scene, asset, scheduling, serialization, and logging ownership for this session. |
| Methods | RuntimeSession.EnterExecutionScope | Binds this session’s script façades to the current asynchronous execution context. |
| Methods | RuntimeSession.StopCoroutines | Stops every coroutine owned by a runtime object before that object is retired by an atomic reload. |
| Methods | RuntimeSession.Tick | Advances session events, jobs, coroutines, and scene lifecycle by one frame. |
| Properties | RuntimeSession.assets | Gets the source-free runtime asset database configured for this session. |
| Properties | RuntimeSession.events | Gets the event dispatcher owned by this session. |
| Properties | RuntimeSession.identities | Gets the identity domain that owns every live object in this isolated session. |
| Properties | RuntimeSession.isPaused | Gets or sets whether scaled simulation is paused while unscaled subsystems continue to receive frames. |
| Properties | RuntimeSession.options | Gets the validated immutable options used to create this session. |
| Properties | RuntimeSession.references | Gets the immutable cross-domain reference resolver generation owned by this session. |
| Properties | RuntimeSession.scenes | Gets the isolated scene world owned by this session. |
| Properties | RuntimeSession.sessionId | Gets the unique logging identity assigned to this session. |
| Properties | RuntimeSession.subsystems | Gets the dependency-ordered subsystem generation owned by this session. |
| Properties | RuntimeSession.timeScale | Gets or sets the finite non-negative simulation time multiplier. |