tesseratos namespace
Tesseratos namespace.
Classes
- struct AssetSelectedEvent
- Event sent when an asset is selected.
- struct AssetExplorerTool
- Tool state.
- struct DebuggerTool
- Tool state.
- struct ImporterTool
- Tool state.
- class ProjectManager
- System argument which can be used to manage the currently loaded project.
- struct ProjectTool
- Tool state.
- struct SceneEditorTool
- Tool state.
- struct VoxelPalleteEditorTool
- Tool state.
Functions
-
void assetExplorerPlugin(cubos::
engine:: & cubos)Cubos - Plugin entry function.
-
auto assetSelectionPopup(const std::string& title,
cubos::
engine:: & selectedAsset, const cubos::AnyAsset core:: & type, const cubos::reflection:: Type engine:: & assets) -> boolAssets - Displays a modal popup to select an asset of a specified type.
-
template<typename T>auto assetSelectionPopup(const std::string& title, cubos::
engine:: & selectedAsset, const cubos::AnyAsset engine:: & assets) -> boolAssets - 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 menuBarPlugin(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. |