EPOK RUNTIME
epok::VisibleOnScreenNotifier2DComponent
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
---- VisibleOnScreenNotifier2D ------------------------------------------------------------ Tracks whether `rect` (owner-local x, y, width, height) is inside the current view.
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_content.hpp"
epok::VisibleOnScreenNotifier2DComponent& value = /* obtain a valid instance from your game */;Fields and constants
disable_when_hiddenExposes `disable_when_hidden` on `epok::VisibleOnScreenNotifier2DComponent` for the world2d content module.FieldenteredExposes `entered` on `epok::VisibleOnScreenNotifier2DComponent` for the world2d content module.FieldexitedExposes `exited` on `epok::VisibleOnScreenNotifier2DComponent` for the world2d content module.FieldknownExposes `known` on `epok::VisibleOnScreenNotifier2DComponent` for the world2d content module.Fieldlink2dExposes `link2d` on `epok::VisibleOnScreenNotifier2DComponent` for the world2d content module.Fieldon_screenExposes `on_screen` on `epok::VisibleOnScreenNotifier2DComponent` for the world2d content module.FieldrectExposes `rect` on `epok::VisibleOnScreenNotifier2DComponent` for the world2d content module.Fieldstatic_class_idExposes `static_class_id` on `epok::VisibleOnScreenNotifier2DComponent` for the world2d content module.VariablePublic methods
~VisibleOnScreenNotifier2DComponentReleases the resources owned by `epok::VisibleOnScreenNotifier2DComponent`.destructorclass_idPerforms `class id` as part of the world2d content module.Methodis_on_screenReports whether on screen as part of the world2d content module.Methodlevel_attachedPerforms `level attached` as part of the world2d content module.Methodtake_screen_enteredPerforms `take screen entered` as part of the world2d content module.Methodtake_screen_exitedPerforms `take screen exited` as part of the world2d content module.Method