Class SpatialObserverExtensions
Entry point for the trigger volumes layered on the spatial index.
public static class SpatialObserverExtensions
- Inheritance
-
SpatialObserverExtensions
- Inherited Members
Methods
SpatialTriggers<T>(DatabaseEngine)
Trigger volumes for component T, which must carry a [SpatialIndex] field.
public static SpatialTriggerVolumes SpatialTriggers<T>(this DatabaseEngine engine) where T : unmanaged
Parameters
engineDatabaseEngine
Returns
Type Parameters
T
Remarks
The underlying state is created on first use and lives as long as the component's ComponentTable does — which is the engine's lifetime in
ordinary use, but NOT across a schema migration that reconstructs the table. Obtain the façade again after one rather than holding it across.