NoJobEngine 2.0.7
Loading...
Searching...
No Matches
NoJob::ProjectPanel Class Reference

#include <ProjectPanel.h>

Public Types

using LogFunction = std::function<void(std::string)>
using CreateModelFunction = std::function<void(const std::filesystem::path&)>

Public Member Functions

void Initialize ()
void Draw (Scene *scene, Entity &selectedEntity, const std::shared_ptr< Mesh > &defaultCubeMesh, const std::shared_ptr< Material > &defaultCubeMaterial, const CreateModelFunction &createModel, const LogFunction &log)
const std::filesystem::path & GetCurrentDirectoryPath () const

Detailed Description

Definition at line 20 of file ProjectPanel.h.

Member Typedef Documentation

◆ CreateModelFunction

using NoJob::ProjectPanel::CreateModelFunction = std::function<void(const std::filesystem::path&)>

Definition at line 24 of file ProjectPanel.h.

◆ LogFunction

using NoJob::ProjectPanel::LogFunction = std::function<void(std::string)>

Definition at line 23 of file ProjectPanel.h.

Member Function Documentation

◆ Draw()

◆ GetCurrentDirectoryPath()

const std::filesystem::path & NoJob::ProjectPanel::GetCurrentDirectoryPath ( ) const
inline

Definition at line 34 of file ProjectPanel.h.

◆ Initialize()

void NoJob::ProjectPanel::Initialize ( )

Definition at line 20 of file ProjectPanel.cpp.

References NoJob::AssetManager::GetProjectRoot().


The documentation for this class was generated from the following files: