|
Unravel Engine C++ Reference
|
Per-submesh render settings authored on the armature node entity that owns the submesh. More...
#include <model_component.h>
Public Attributes | |
| uint32_t | submesh_index {0} |
| uint32_t | stable_id {0} |
| asset_handle< material > | material_override {} |
| Optional material override for this submesh instance (null = model material). | |
| bool | casts_shadow {true} |
| Whether this submesh instance casts shadows. | |
| bool | enabled {true} |
| Whether this submesh instance is rendered at all. | |
Per-submesh render settings authored on the armature node entity that owns the submesh.
Definition at line 365 of file model_component.h.
| bool unravel::submesh_entry::casts_shadow {true} |
Whether this submesh instance casts shadows.
Definition at line 379 of file model_component.h.
| bool unravel::submesh_entry::enabled {true} |
Whether this submesh instance is rendered at all.
Definition at line 382 of file model_component.h.
| asset_handle<material> unravel::submesh_entry::material_override {} |
Optional material override for this submesh instance (null = model material).
Definition at line 376 of file model_component.h.
| uint32_t unravel::submesh_entry::stable_id {0} |
Import-stable submesh id (see mesh::submesh::stable_id). 0 = unknown; falls back to index-based matching during migration of legacy data.
Definition at line 373 of file model_component.h.
| uint32_t unravel::submesh_entry::submesh_index {0} |
Runtime index into the mesh submesh array. Re-resolved from the mesh asset on armature init; not stable across reimports (use stable_id for persistent references).
Definition at line 369 of file model_component.h.