Epok Engine

EPOK RUNTIME

epok::Depth2DComponent

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

---- Depth2D ---------------------------------------------------------------------------- Draws the sprites and tile layers of its actor, and of everything attached to it, inside the 3D world instead of over it: they join the 3D ordering table at one camera depth, so 3D geometry behind that depth is hidden by their opaque texels and geometry in front covers them.

Namespace
epok
Header
world2d_tiles.hpp
Include
#include "world2d_tiles.hpp"
Module
world2d-tiles
Source
runtime/world2d_tiles.hpp:361
Inherits from
ActorComponent

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::Depth2DComponent& value = /* obtain a valid instance from your game */;

Fields and constants

Public methods