Sprite.this

this(short width, short height, ushort atlasLeft, ushort atlasTop, Vec2 position = Vec2(), Hook hook = Hook.topLeft) @safe nothrow @nogc

Initializes the sprite with the specified size, atlas position, and optional world position.

this(short width, short height, ushort atlasLeft, ushort atlasTop, float x, float y, Hook hook = Hook.topLeft) @safe nothrow @nogc

Initializes the sprite with the specified size, atlas position, and world position.

this(short width, short height, ushort atlasLeft, ushort atlasTop, Hook hook) @safe nothrow @nogc

Initializes the sprite with the specified size, atlas position, and world position.