tesseratos namespace
Tesseratos namespace.
Classes
- struct AssetSelectedEvent
- Event sent when an asset is selected.
- struct AssetExplorer
- Tool state.
- struct Debugger
- Tool state.
- struct Importer
- Tool state.
- class LayoutNode
- Describes a layout node for tesseratos.
- class Layout
- Describes a layout for tesseratos.
- struct LayoutState
- Layout state.
- class ProjectManager
- System argument which can be used to manage the currently loaded project.
- struct Project
- Tool state.
- struct SceneEditor
- Tool state.
- struct VoxelPalleteEditor
- Tool state.
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 layoutPlugin(cubos::
engine:: Cubos& cubos) - Plugin entry function.
-
void layoutBridgePlugin(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. |