Interfaces
ISceneManagementService
Responsible for handling scene management related tasks.
Methods
SpeedZones
Gets the speed zones.
Returns
| Name | Type |
|---|---|
| List<SpeedZone> | A list of speed zones. |
CreateSpeedZone
Creates a speed zone.
Parameters
| Name | Type | Description |
|---|---|---|
| position | Vector3 | The position. |
| radius | int | The radius. |
| speed | int | The maximum speed. |
Returns
| Name | Type |
|---|---|
| Guid | The id of the created speed zone. |
DeleteSpeedZone
Deletes the speed zone with the specified id.
Parameters
| Name | Type | Description |
|---|---|---|
| id | Guid | The id of the speed zone to delete. |
Returns
| Name | Type |
|---|---|
| bool | A value indicating whether the deletion could be completed or not. |
ReleaseSpeedZoneTraffic
Releases the traffic for a given speed zone.
Parameters
| Name | Type | Description |
|---|---|---|
| id | Guid | The id of the speed zone. |
Events
SpeedZoneCreated
Fires when a speed zone has been created.
Type: EventHandler<SpeedZoneCreatedEventArgs>
SpeedZoneDeleted
Fires when a speed zone has been deleted.
Type: EventHandler<SpeedZoneDeletedEventArgs>