Session Module
Types
| Type | Description |
|
Opaque session handle for all library operations. |
Functions and values
| Function or value |
Description
|
Full Usage:
bodyPropertiesCache session
Parameters:
Session
Returns: ConcurrentDictionary<string, BodyProperties>
|
Get the cached body properties for all known bodies.
|
Full Usage:
bodyRegistry session
Parameters:
Session
Returns: ConcurrentDictionary<string, string>
|
Get the body registry from a session. Maps body names to shape kinds.
|
|
|
Full Usage:
cachedRegisteredShapes session
Parameters:
Session
Returns: RegisteredShapeState list
|
Get the cached list of registered custom shapes.
|
|
|
|
Disconnect and clean up resources.
|
|
|
|
|
|
Get the latest cached simulation state, or None if no state has arrived yet.
|
|
|
|
PhysicsSandbox