Fireset
Loading...
Searching...
No Matches
FsSprite Struct Reference

Sprite structure. More...

#include <render.h>

Collaboration diagram for FsSprite:

Public Attributes

FsVec2 position
FsVec2 size
FsTexturetexture
float angle

Detailed Description

Sprite structure.

Represents a 2D sprite in the engine.

Member Data Documentation

◆ angle

float FsSprite::angle

Rotation angle of the sprite in degrees.

◆ position

FsVec2 FsSprite::position

Position of the sprite in the window.

◆ size

FsVec2 FsSprite::size

Size of the sprite in the window.

◆ texture

FsTexture* FsSprite::texture

Pointer to the sprite's texture.


The documentation for this struct was generated from the following file: