class
GUIBackgroundSprite
Wrapper around Sprite that helps construct a sprite for drawing a GUI element background controlled by style sheet rules.
Public
Constructors
GUIBackgroundSprite
GUIBackgroundSprite()
Methods
BuildRenderElements
void BuildRenderElements(const GUIBackgroundSpriteCreateInformation &createInformation, TInlineArray<GUIRenderElement, 4> &outRenderElements)
Builds the background render elements and appends them to the render elements array.
- createInformation
- Information about the sprite to build render elements for.
- outRenderElements
- Array to which the generated render element will be appended to.
SetAnimationStartTime
void SetAnimationStartTime(float time)
Updates the animation start time (in seconds since application start), in case the background contains an animated sprite.
SetBackgroundPathBuilder
Sets an interface that constructs the vector path used for drawing the background.
Private
Fields
mBackgroundSprite
ImageSprite mBackgroundSprite
mBackgroundSpriteInformation
ImageSpriteInformation mBackgroundSpriteInformation
mBackgroundPathBuilder
const IGUIVectorPathBuilder * mBackgroundPathBuilder