EPOK RUNTIME
epok::SplitScreen2DComponent
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
---- SplitScreen2D -------------------------------------------------------------------------
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_viewports.hpp"
epok::SplitScreen2DComponent& value = /* obtain a valid instance from your game */;Fields and constants
camerasExposes `cameras` on `epok::SplitScreen2DComponent` for the world2d viewports module.FielddividerExposes `divider` on `epok::SplitScreen2DComponent` for the world2d viewports module.Fielddivider_colorExposes `divider_color` on `epok::SplitScreen2DComponent` for the world2d viewports module.FieldenabledExposes `enabled` on `epok::SplitScreen2DComponent` for the world2d viewports module.Fieldlink2dExposes `link2d` on `epok::SplitScreen2DComponent` for the world2d viewports module.Fieldside_by_sideExposes `side_by_side` on `epok::SplitScreen2DComponent` for the world2d viewports module.Fieldstatic_class_idExposes `static_class_id` on `epok::SplitScreen2DComponent` for the world2d viewports module.VariablePublic methods
~SplitScreen2DComponentReleases the resources owned by `epok::SplitScreen2DComponent`.destructorclass_idPerforms `class id` as part of the world2d viewports module.MethodhalfScreen rectangle (x, y, w, h) of half `index`, either side of the divider.Methodis_enabledReports whether enabled as part of the world2d viewports module.Methodis_side_by_sideReports whether side by side as part of the world2d viewports module.Methodlevel_attachedPerforms `level attached` as part of the world2d viewports module.Methodset_enabledSets enabled as part of the world2d viewports module.Methodset_side_by_sideSets side by side as part of the world2d viewports module.MethodviewThe view through camera `index`, its projection centred on its half.Method