onSpatialEvent

A closure that receives the spatial events updates from the LayerRenderer

Declaration

@MainActor @preconcurrency var onSpatialEvent: @MainActor (SpatialEventCollection) -> Void { get set }