OsmController
#include <osmcontroller.h>
Inherits from SceneController, Serenity::Entity
Public Types
Public Functions
Public Attributes
Additional inherited members
Public Functions inherited from SceneController
Protected Attributes inherited from SceneController
Public Types Documentation
enum ViewMode
Enumerator |
Value |
Description |
BehindCar |
|
|
BirdsEye |
|
|
enum MarkerType
Enumerator |
Value |
Description |
Car |
|
|
Arrow |
|
|
None |
|
|
Public Functions Documentation
function OsmController
| explicit OsmController(
Serenity::LayerManager * layerManager,
KDGui::Window * window
)
|
function ~OsmController
function cleanup
| virtual void cleanup() override
|
Reimplements: SceneController::cleanup
Public Attributes Documentation
variable camera
| KDBindings::Property<::Serenity::Camera * > camera { nullptr };
|
variable viewMode
| KDBindings::Property< ViewMode > viewMode { ViewMode::BehindCar };
|
variable markerType
| KDBindings::Property< MarkerType > markerType { MarkerType::Car };
|
variable markerScale
| KDBindings::Property< float > markerScale { 1.0f };
|
variable speedScale
| KDBindings::Property< float > speedScale { 0.05f };
|
variable carDistance
| KDBindings::Property< float > carDistance { 0.0f };
|
variable RouteOpaqueLayerName
| static const String RouteOpaqueLayerName = StringLiteral("OSMControllerRouteOpaqueLayer");
|
variable RoadOpaqueLayerName
| static const String RoadOpaqueLayerName = StringLiteral("OSMControllerRoadOpaqueLayer");
|
variable AreaOpaqueLayerName
| static const String AreaOpaqueLayerName = StringLiteral("OSMControllerAreaOpaqueLayer");
|
variable AreaParkOpaqueLayerName
| static const String AreaParkOpaqueLayerName = StringLiteral("OSMControllerAreaParkOpaqueLayer");
|
variable GroundOpaqueLayerName
| static const String GroundOpaqueLayerName = StringLiteral("OSMControllerGroundOpaqueLayer");
|
Updated on 2023-07-03 at 11:02:08 +0000