struct
render::SpriteMaterialInfo
Inherits:
TSpriteMaterialInfo<true>
Contains information for initializing a sprite material.
Public
Constructors
SpriteMaterialInfo
SpriteMaterialInfo() = default
SpriteMaterialInfo
Initializes the object from the main thread variant.
Methods
Clone
TSpriteMaterialInfo<IsRenderProxy> Clone() const
Creates a new deep copy of the object.
This is different from standard copy constructor which will just reference the original "additionalData" field, while this will copy it.
Fields
GroupId
u64 GroupId
Texture
SpriteImage
SpriteImageType SpriteImage
Sprite image used to generate the sprite.
Used for animation only.
SpriteImageAllocation
Allocation handle to keep the sprite image alive as long as needed.
Tint
Color Tint
AnimationStartTime
float AnimationStartTime
AdditionalData
SPtr<SpriteMaterialExtraInfo> AdditionalData