Struct Tile
Defined in File tileset.h
Inheritance Relationships
Base Types
public CE::Assets::Content2D(Struct Content2D)public CE::Assets::Animation::Cursor< Tile >(Template Struct Cursor)
Struct Documentation
-
struct Tile : public CE::Assets::Content2D, public CE::Assets::Animation::Cursor<Tile>
Declaration:
finalOne static grid-cell offset retaining atlas resources; its inherited one-slot cursor does not select another grid cell.
Public Functions
Retain one static cell and resource handles without grid/domain validation.
See also
- Parameters:
cell – Original grid-cell offset; direct construction does not check it.
geometry – Retained uploaded atlas geometry.
texture – Retained atlas image.
material – Optional retained material; no default is constructed. The inherited cursor has index0/limit1; set_frame() cannot change this cell offset.
-
inline std::size_t cell() const
Declaration:
[[nodiscard]]Read the retained original grid-cell offset, independent of inherited cursor ordinal.
See also