struct
SpriteVectorPathCreateInformation
Inherits:
SpriteImageInformation
Descriptor structure used for initialization of a SpriteVectorPath.
Public
Constructors
SpriteVectorPathCreateInformation
SpriteVectorPathCreateInformation() = default
SpriteVectorPathCreateInformation
SpriteVectorPathCreateInformation(const SpriteImageInformation &spriteImageInformation, const HVectorPath &vectorPath, const Size2I &defaultSize)
Fields
DefaultSize
Size2I DefaultSize
Size of the unscaled rasterized path, in pixels.
Actual rendered size might be different depending on DPI scale or other scale factors.
ScalingMode
VectorGraphicsRasterizationScaling ScalingMode
How to scale the path canvas onto the rasterized destination.
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.