EPOK RUNTIME
epok::SceneComponent2D
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::SceneComponent2D& value = /* obtain a valid instance from your game */;Fields and constants
attach_parentExposes `attach_parent` on `epok::SceneComponent2D` for the object model module.Fieldstatic_class_idExposes `static_class_id` on `epok::SceneComponent2D` for the object model module.Variabletransform2D actors own their transform: no legacy slot carries a Transform2D, and no fictitious 3D transform is created for them.FieldPublic methods
attach_slotPerforms `attach slot` as part of the object model module.Methodattach_toPerforms `attach to` as part of the object model module.Methodclass_idPerforms `class id` as part of the object model module.Methodposition_xPerforms `position x` as part of the object model module.Methodposition_yPerforms `position y` as part of the object model module.MethodrotationPerforms `rotation` as part of the object model module.Methodset_positionSets position as part of the object model module.Methodset_rotationSets rotation as part of the object model module.Methodset_scaleSets scale as part of the object model module.Method