CompositeTexture.chunkRectangle

Get the rectangle of the given chunk in dots.

struct CompositeTexture
const
chunkRectangle
(
size_t i
,)

Parameters

i size_t

Index of the chunk.

offset Vector2

Translate the resulting rectangle by this vector.

Meta