Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
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.
Reports whether visible as part of the world2d components module.
bool is_visible() constReports whether visible as part of the world2d components module.
This overload takes no parameters.
Returns: bool. Consult the linked header for its meaning.
#include "world2d_components.hpp"
epok::Sprite2DComponent& object = /* obtain a valid instance */;
auto result = object.is_visible();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_components.hpp:177
advanceAdvances the playing clip by one simulation step.Methodanimation_countPerforms `animation count` as part of the world2d components module.Methodclass_idPerforms `class id` as part of the world2d components module.Methodcurrent_animationPerforms `current animation` as part of the world2d components module.Methodcurrent_framePerforms `current frame` as part of the world2d components module.Methodis_flipped_hReports whether flipped h as part of the world2d components module.Methodis_playingReports whether playing as part of the world2d components module.Methodlevel_attachedPerforms `level attached` as part of the world2d components module.MethodpausePauses pause as part of the world2d components module.MethodplayStarts play as part of the world2d components module.Methodplay_namedC++ convenience: play a clip by its authored name.Methodset_flip_hSets flip h as part of the world2d components module.Method