EPOK RUNTIME
epok::CanvasLayer2DComponent
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
---- CanvasLayer2D ---------------------------------------------------------------------- Puts its actor and everything attached to it on canvas `layer`: layers draw in ascending order and the default world canvas is layer 0.
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 "world2d_tiles.hpp"
epok::CanvasLayer2DComponent& value = /* obtain a valid instance from your game */;Fields and constants
follow_viewportExposes `follow_viewport` on `epok::CanvasLayer2DComponent` for the world2d tiles module.FieldlayerExposes `layer` on `epok::CanvasLayer2DComponent` for the world2d tiles module.Fieldlink2dExposes `link2d` on `epok::CanvasLayer2DComponent` for the world2d tiles module.FieldoffsetExposes `offset` on `epok::CanvasLayer2DComponent` for the world2d tiles module.Fieldstatic_class_idExposes `static_class_id` on `epok::CanvasLayer2DComponent` for the world2d tiles module.Variableunder_3dExposes `under_3d` on `epok::CanvasLayer2DComponent` for the world2d tiles module.FieldvisibleExposes `visible` on `epok::CanvasLayer2DComponent` for the world2d tiles module.FieldPublic methods
~CanvasLayer2DComponentReleases the resources owned by `epok::CanvasLayer2DComponent`.destructorclass_idPerforms `class id` as part of the world2d tiles module.Methodget_layerReturns layer 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