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.
Returns layer as part of the world2d tiles module.
int32_t get_layer() constReturns layer as part of the world2d tiles module.
This overload takes no parameters.
Returns: int32_t. Consult the linked header for its meaning.
#include "world2d_tiles.hpp"
epok::CanvasLayer2DComponent& object = /* obtain a valid instance */;
auto result = object.get_layer();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_tiles.hpp:318
~CanvasLayer2DComponentReleases the resources owned by `epok::CanvasLayer2DComponent`.destructorclass_idPerforms `class id` as part of the world2d tiles module.Methodis_under_3dReports whether under 3d as part of the world2d tiles module.Methodis_visibleReports whether visible as part of the world2d tiles module.Methodlevel_attachedPerforms `level attached` as part of the world2d tiles module.Methodset_follow_viewportSets follow viewport as part of the world2d tiles module.Methodset_layerSets layer as part of the world2d tiles module.Methodset_offsetSets offset as part of the world2d tiles module.Methodset_under_3dSets under 3d as part of the world2d tiles module.Methodset_visibleSets visible as part of the world2d tiles module.Method