Why use it
It provides direct, allocation-conscious access to the object model module. No exception-based error path is implied by the signature.
EPOK RUNTIME
Method · 1 overload
Sets material unlit as part of the object model module.
void set_material_unlit(bool unlit)Sets material unlit as part of the object model module.
| Parameter | Type | Meaning |
|---|---|---|
unlit | bool | Value supplied for unlit. Keep referenced or pointed-to data valid for the complete call. |
Returns: Nothing (void).
#include "object_model.hpp"
// Assume these named values have been initialized with valid data:
// bool unlit
epok::Mesh3DComponent& object = /* obtain a valid instance */;
object.set_material_unlit(unlit);It provides direct, allocation-conscious access to the object model module. No exception-based error path is implied by the signature.
Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.
Declared in runtime/object_model.hpp:712
bone_countPerforms `bone count` as part of the object model module.Methodclass_idPerforms `class id` as part of the object model module.Methodclip_countPerforms `clip count` as part of the object model module.Methodclip_framesPerforms `clip frames` as part of the object model module.Methodclip_loop_ticksOne loop of a clip, measured in the animator's own two-per-frame ticks.Methodentity_slotPerforms `entity slot` as part of the object model module.Methodgeometry_statePerforms `geometry state` as part of the object model module.Methodlighting_enabledPerforms `lighting enabled` as part of the object model module.Methodmaterial_statePerforms `material state` as part of the object model module.Methodpause_animationPauses animation as part of the object model module.Methodplay_clipStarts clip as part of the object model module.Methodplayback_stateStarts back state as part of the object model module.Method