Voltray Engine Docs
Loading...
Searching...
No Matches
Editor::Assets::DragDropPayload Struct Reference

Contains information about a dragged asset. More...

#include <AssetDragDrop.h>

Public Member Functions

 DragDropPayload ()=default
 
 DragDropPayload (const std::filesystem::path &path, const std::string &type, bool global)
 

Public Attributes

std::filesystem::path assetPath
 
std::string assetType
 
std::string fileName
 
bool isGlobalAsset
 

Detailed Description

Contains information about a dragged asset.

Constructor & Destructor Documentation

◆ DragDropPayload() [1/2]

Editor::Assets::DragDropPayload::DragDropPayload ( )
default

◆ DragDropPayload() [2/2]

Editor::Assets::DragDropPayload::DragDropPayload ( const std::filesystem::path &  path,
const std::string &  type,
bool  global 
)
inline

Member Data Documentation

◆ assetPath

std::filesystem::path Editor::Assets::DragDropPayload::assetPath

◆ assetType

std::string Editor::Assets::DragDropPayload::assetType

◆ fileName

std::string Editor::Assets::DragDropPayload::fileName

◆ isGlobalAsset

bool Editor::Assets::DragDropPayload::isGlobalAsset

The documentation for this struct was generated from the following file: