tesseratos namespace
Tesseratos namespace.
Classes
- struct AssetSelectedEvent
- Event sent when an asset is selected.
- class ProjectManager
- System argument which can be used to manage the currently loaded project.
Functions
-
void assetExplorerPlugin(cubos::
engine:: Cubos& cubos) - Plugin entry function.
-
auto assetSelectionPopup(const std::string& title,
cubos::
engine:: AnyAsset& selectedAsset, const cubos:: core:: reflection:: Type& type, const cubos:: engine:: Assets& assets) -> bool - Displays a modal popup to select an asset of a specified type.
-
template<typename T>auto assetSelectionPopup(const std::string& title, cubos::
engine:: AnyAsset& selectedAsset, const cubos:: engine:: Assets& assets) -> bool - Displays a modal popup to select an asset of a specified type.
-
void debuggerPlugin(cubos::
engine:: Cubos& cubos) - Plugin entry function.
-
void importerPlugin(cubos::
engine:: Cubos& cubos) - Plugin entry function.
-
void projectPlugin(cubos::
engine:: Cubos& cubos) - Plugin entry function.
-
void sceneEditorPlugin(cubos::
engine:: Cubos& cubos) - Plugin entry function.
-
void voxelPaletteEditorPlugin(cubos::
engine:: Cubos& cubos) - Plugin entry function.
Function documentation
bool tesseratos:: assetSelectionPopup(const std::string& title,
cubos:: engine:: AnyAsset& selectedAsset,
const cubos:: core:: reflection:: Type& type,
const cubos:: engine:: Assets& assets)
Displays a modal popup to select an asset of a specified type.
Parameters | |
---|---|
title | Popup title. |
selectedAsset out | Output asset. |
type | Asset type to filter by. |
assets | Assets database to query. |
Returns | Whether an asset is selected. |
template<typename T>
bool tesseratos:: assetSelectionPopup(const std::string& title,
cubos:: engine:: AnyAsset& selectedAsset,
const cubos:: engine:: Assets& assets)
Displays a modal popup to select an asset of a specified type.
Template parameters | |
---|---|
T | Asset type to filter by. |
Parameters | |
title | Popup title. |
selectedAsset out | Output asset. |
assets | Assets database to query. |
Returns | Whether an asset is selected. |