DEKI/ENGINE docs
manual api reference
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
Loading...
Searching...
No Matches
DekiEditor::SubAssetInfo Struct Reference

An item inside a parent asset, such as a sprite frame or a LOD level. More...

#include <C:/Users/kirby/Documents/Github/deki/deki-editor/deki-editor/include/deki-editor/SubAsset.h>

Public Attributes

std::string cachePath
int depth = 0
int frameId = -1
std::string guid
bool hasPreview = false
std::string name
std::string parentGuid
int subAssetIndex

Detailed Description

An item inside a parent asset, such as a sprite frame or a LOD level.

Sub- assets are metadata only; unless cachePath is set they share the parent's cache file. Type-specific data (e.g. sprite coordinates) lives in type-specific registries.

Member Data Documentation

◆ cachePath

std::string DekiEditor::SubAssetInfo::cachePath

◆ depth

int DekiEditor::SubAssetInfo::depth = 0

◆ frameId

int DekiEditor::SubAssetInfo::frameId = -1

◆ guid

std::string DekiEditor::SubAssetInfo::guid

◆ hasPreview

bool DekiEditor::SubAssetInfo::hasPreview = false

◆ name

std::string DekiEditor::SubAssetInfo::name

◆ parentGuid

std::string DekiEditor::SubAssetInfo::parentGuid

◆ subAssetIndex

int DekiEditor::SubAssetInfo::subAssetIndex

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