EPOK RUNTIME
epok::ImageComponent
Class
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Class
Class declared by the object-model module for the object model module.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "object_model.hpp"
epok::ImageComponent& value = /* obtain a valid instance from your game */;Fields and constants
Public methods
class_idPerforms `class id` as part of the object model module.MethodenabledPerforms `enabled` as part of the object model module.Methodentity_slotPerforms `entity slot` as part of the object model module.Methodset_bordersNine-slice borders in source pixels: left, top, right, bottom.Methodset_colorSets color as part of the object model module.Methodset_enabledSets enabled as part of the object model module.Methodset_regionSets region as part of the object model module.Methodset_textureSets texture as part of the object model module.Methodset_tiling0 None, 1 Tile, 2 TileFit; anything else leaves the image stretched.MethodtilingPerforms `tiling` as part of the object model module.Method