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
Performs `configure` as part of the object model module.
void configure(int32_t texture,uint32_t first,uint32_t last,Fixed speed,bool reverse)Performs `configure` as part of the object model module.
| Parameter | Type | Meaning |
|---|---|---|
texture | int32_t | Value supplied for texture. Keep referenced or pointed-to data valid for the complete call. |
first | uint32_t | Value supplied for first. Keep referenced or pointed-to data valid for the complete call. |
last | uint32_t | Value supplied for last. Keep referenced or pointed-to data valid for the complete call. |
speed | Fixed | Value supplied for speed. Keep referenced or pointed-to data valid for the complete call. |
reverse | bool | Value supplied for reverse. 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:
// int32_t texture
// uint32_t first
// uint32_t last
// Fixed speed
// bool reverse
epok::PaletteAnimatorComponent& object = /* obtain a valid instance */;
object.configure(texture, first, last, speed, reverse);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:858
class_idPerforms `class id` as part of the object model module.Methodentity_slotPerforms `entity slot` as part of the object model module.MethodresetResets reset as part of the object model module.Methodset_enabledSets enabled as part of the object model module.MethodstatePerforms `state` as part of the object model module.Method