|
Unravel Engine C++ Reference
|
#include <model_component.h>
Public Member Functions | |
| void | migrate_legacy_indices (const std::vector< uint32_t > &legacy_indices) |
Migrates legacy serialized data that only stored bare submesh indices. Creates default-valued entries for legacy_indices when no entries were loaded. | |
Public Member Functions inherited from unravel::basic_component | |
| void | touch () |
| Marks the component as 'touched'. | |
Public Attributes | |
| std::vector< submesh_entry > | entries {} |
Public Attributes inherited from unravel::basic_component | |
| bool | eto {} |
| Disable empty type optimizations. | |
Additional Inherited Members | |
Public Types inherited from unravel::component_crtp< submesh_component > | |
| using | base |
Static Public Attributes inherited from unravel::component_crtp< submesh_component > | |
| static constexpr bool | in_place_delete |
| Indicates if the component can be deleted in place. | |
Definition at line 385 of file model_component.h.
|
inline |
Migrates legacy serialized data that only stored bare submesh indices. Creates default-valued entries for legacy_indices when no entries were loaded.
Definition at line 396 of file model_component.h.
| std::vector<submesh_entry> unravel::submesh_component::entries {} |
Per-submesh render settings for the submeshes affected by this node. Rebuilt from the mesh asset on armature init (see rebuild_submesh_entries), so the entry list itself is derived data - only the per-entry settings are authored.
Definition at line 390 of file model_component.h.