Cogs.Core
OGC3DTilesComponent.h
1#pragma once
2
3#include "Foundation/ComponentModel/Component.h"
4#include "Foundation/Geometry/BoundingBox.hpp"
5#include "Foundation/Geometry/Glm.hpp"
6
7#include <Resources/Resources.h>
8#include <Context.h>
9
10#include <string>
11#include <vector>
12
13namespace Cogs::Core
14{
16 {
17 None,
23 };
24
26 {
27 static void registerType();
28
32 std::string baseURL;
33
39
43 float detailFactor = 1.0;
44
48 bool showTileBBoxes = false;
49
54
67
74 bool enableCaching = false;
75
82
86 std::string accessToken;
87
92 int assetId = -1;
93
105 bool dontRenderLeaves = false;
106 };
107}
108
109template<> inline Cogs::StringView getName<Cogs::Core::OGC3DTilesComponent>() { return "OGC3DTilesComponent"; }
110template<> inline Cogs::StringView getName<Cogs::Core::OGC3DTilesNotification>() { return "OGC3DTilesNotification"; }
Base class for Component instances.
Definition: Component.h:143
Provides a weakly referenced view over the contents of a string.
Definition: StringView.h:24
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
@ TilesetInitializing
The tileset is being initialized.
MaterialInstanceHandle overrideMaterial