Cogs.Core
|
Public Member Functions | |
bool | useOverrideMaterial () const |
bool | useCloneMaterial () const |
bool | useRelativePaths () const |
void | spawned (EntityId entityId) |
void | destroyed (EntityId entityId) |
void | link (AssetInstanceData *instance) |
void | unlink () |
void | destroy () |
SceneEntityDefinition & | getDefinition (EntityInstanceData &instance) |
Public Attributes | |
struct AssetSystemData * | systemData = nullptr |
AssetInstanceData * | parentInstance = nullptr |
AssetInstanceData * | next = nullptr |
AssetInstanceData * | prev = nullptr |
MaterialInstanceHandle | material |
StringView | path |
AssetHandle | asset |
uint16_t | assetGeneration = 0 |
Entity * | container = nullptr |
uint32_t | objectId = NoObjectId |
RenderLayers | renderLayers = RenderLayers::Default |
ComponentModel::ComponentHandle | clipShapeComponent = ComponentModel::ComponentHandle::Empty() |
SceneInstanceData | scene |
AssetInstanceStats | stats |
std::vector< uint32_t > | selectedIdRanges |
bool | visible = false |
bool | onDemand = false |
bool | relativePaths = false |
bool | overrideMaterial = false |
bool | cloneMaterial = false |
bool | initialized = false |
bool | freezeLod = false |
bool | forceTolerance = false |
float | tolerance = 1.0f |
float | priority = 0.0f |
float | minDistance = 1.f |
std::string | directoryPath |
Memory::TypedBuffer< EntityId > | spawnedEntities |
Memory::TypedBuffer< EntityId > | destroyedEntities |
Definition at line 216 of file AssetSystem.cpp.
|
inline |
Definition at line 218 of file AssetSystem.cpp.
void Cogs::Core::AssetInstanceData::destroy | ( | ) |
Definition at line 356 of file AssetSystem.cpp.
|
inline |
Definition at line 276 of file AssetSystem.cpp.
|
inline |
Definition at line 305 of file AssetSystem.cpp.
|
inline |
Definition at line 285 of file AssetSystem.cpp.
|
inline |
Definition at line 267 of file AssetSystem.cpp.
|
inline |
Definition at line 296 of file AssetSystem.cpp.
|
inline |
Definition at line 264 of file AssetSystem.cpp.
|
inline |
Definition at line 263 of file AssetSystem.cpp.
|
inline |
Definition at line 265 of file AssetSystem.cpp.
AssetHandle Cogs::Core::AssetInstanceData::asset |
Definition at line 232 of file AssetSystem.cpp.
uint16_t Cogs::Core::AssetInstanceData::assetGeneration = 0 |
Definition at line 233 of file AssetSystem.cpp.
ComponentModel::ComponentHandle Cogs::Core::AssetInstanceData::clipShapeComponent = ComponentModel::ComponentHandle::Empty() |
Definition at line 238 of file AssetSystem.cpp.
bool Cogs::Core::AssetInstanceData::cloneMaterial = false |
Definition at line 250 of file AssetSystem.cpp.
Entity* Cogs::Core::AssetInstanceData::container = nullptr |
Definition at line 235 of file AssetSystem.cpp.
Memory::TypedBuffer<EntityId> Cogs::Core::AssetInstanceData::destroyedEntities |
Definition at line 261 of file AssetSystem.cpp.
std::string Cogs::Core::AssetInstanceData::directoryPath |
Definition at line 258 of file AssetSystem.cpp.
bool Cogs::Core::AssetInstanceData::forceTolerance = false |
Definition at line 253 of file AssetSystem.cpp.
bool Cogs::Core::AssetInstanceData::freezeLod = false |
Definition at line 252 of file AssetSystem.cpp.
bool Cogs::Core::AssetInstanceData::initialized = false |
Definition at line 251 of file AssetSystem.cpp.
MaterialInstanceHandle Cogs::Core::AssetInstanceData::material |
Definition at line 229 of file AssetSystem.cpp.
float Cogs::Core::AssetInstanceData::minDistance = 1.f |
Definition at line 256 of file AssetSystem.cpp.
AssetInstanceData* Cogs::Core::AssetInstanceData::next = nullptr |
Definition at line 226 of file AssetSystem.cpp.
uint32_t Cogs::Core::AssetInstanceData::objectId = NoObjectId |
Definition at line 236 of file AssetSystem.cpp.
bool Cogs::Core::AssetInstanceData::onDemand = false |
Definition at line 247 of file AssetSystem.cpp.
bool Cogs::Core::AssetInstanceData::overrideMaterial = false |
Definition at line 249 of file AssetSystem.cpp.
AssetInstanceData* Cogs::Core::AssetInstanceData::parentInstance = nullptr |
Definition at line 225 of file AssetSystem.cpp.
StringView Cogs::Core::AssetInstanceData::path |
Definition at line 231 of file AssetSystem.cpp.
AssetInstanceData* Cogs::Core::AssetInstanceData::prev = nullptr |
Definition at line 227 of file AssetSystem.cpp.
float Cogs::Core::AssetInstanceData::priority = 0.0f |
Definition at line 255 of file AssetSystem.cpp.
bool Cogs::Core::AssetInstanceData::relativePaths = false |
Definition at line 248 of file AssetSystem.cpp.
RenderLayers Cogs::Core::AssetInstanceData::renderLayers = RenderLayers::Default |
Definition at line 237 of file AssetSystem.cpp.
SceneInstanceData Cogs::Core::AssetInstanceData::scene |
Definition at line 240 of file AssetSystem.cpp.
std::vector<uint32_t> Cogs::Core::AssetInstanceData::selectedIdRanges |
Definition at line 244 of file AssetSystem.cpp.
Memory::TypedBuffer<EntityId> Cogs::Core::AssetInstanceData::spawnedEntities |
Definition at line 260 of file AssetSystem.cpp.
AssetInstanceStats Cogs::Core::AssetInstanceData::stats |
Definition at line 242 of file AssetSystem.cpp.
struct AssetSystemData* Cogs::Core::AssetInstanceData::systemData = nullptr |
Definition at line 223 of file AssetSystem.cpp.
float Cogs::Core::AssetInstanceData::tolerance = 1.0f |
Definition at line 254 of file AssetSystem.cpp.
bool Cogs::Core::AssetInstanceData::visible = false |
Definition at line 246 of file AssetSystem.cpp.