struct
SpriteGlyphCreateInformation
Inherits:
SpriteImageInformation
Descriptor structure used for initialization of a SpriteGlyph.
Public
Constructors
SpriteGlyphCreateInformation
SpriteGlyphCreateInformation() = default
SpriteGlyphCreateInformation
SpriteGlyphCreateInformation(const SpriteImageInformation &spriteImageInformation, const HFont &font, u32 glyph, float defaultSize)
Fields
Glyph
u32 Glyph
Unicode code for the glyph to render.
DefaultSize
float DefaultSize
Size of the unscaled glyph in points.
Actual rendered size might be different depending on DPI scale or other scale factors.
AnimationPlayback
SpriteAnimationPlayback AnimationPlayback
Determines if animation is enabled and how should it play.
Animation
Describes the sprite sheet grid used for animation, if animation is used.