Listener for outdoor scenario when camera focuses on a building or leaves it. More...
Public Member Functions | |
| void | onActiveBuildingFocused (Building activeBuilding) |
| Called when camera enters a building's bounding box. | |
| void | onActiveBuildingLeft () |
| Called when camera leaves all buildings (no building bbox contains the camera). | |
| void | onActiveSublocationChanged (int activeSublocationId) |
| Called when the active sublocation (floor) of the focused building changes. | |
Listener for outdoor scenario when camera focuses on a building or leaves it.
Definition at line 21 of file building_listener.dart.
| void BuildingListener.onActiveBuildingFocused | ( | Building | activeBuilding | ) |
Called when camera enters a building's bounding box.
| activeBuilding | The building that is now focused. |
Dart code snippet:
| void BuildingListener.onActiveBuildingLeft | ( | ) |
Called when camera leaves all buildings (no building bbox contains the camera).
Dart code snippet:
| void BuildingListener.onActiveSublocationChanged | ( | int | activeSublocationId | ) |
Called when the active sublocation (floor) of the focused building changes.
| activeSublocationId | New active sublocation id. |
Dart code snippet: