CLASS v1.8.0

tilemap::Layer

kn::tilemap::Layer

Declared in kraken/tilemap/TileMap.hpp

Reference

C++ API

visible

variable
bool visible = true

No description in the source header.

offset

variable
Vec2 offset {}

No description in the source header.

Layer

function
Layer()=default

No description in the source header.

~Layer

function
~Layer()=default

No description in the source header.

draw

function
void draw(double angle=0.0, const Vec2 &pivot=Vec2{0.5, 0.5})=0

No description in the source header.

setOpacity

function
void setOpacity(double value)=0

No description in the source header.

getOpacity

function
double getOpacity() const =0

No description in the source header.

getName

function
std::string getName() const

No description in the source header.

getType

function
tmx::Layer::Type getType() const

No description in the source header.

Find your next step

Start typing to search the manual.