Skip to main content

Introduction

Provides a JSON compatible reference to an Image

Fields#

NameDescription
SpriteSprite to display in UI
SourceSource of sprite data
PathPath of sprite
Bundle NameAsset Bundle containing sprite
Asset NameName of sprite in the bundle
Texture InfoTexture information for resource with multiple textures in sprite

Methods#

NameDescription
CloneCreates a clone of this object
DataLoadLoad data from a stream
DataSaveSave data to a stream
GetImageGets Image from data, loading if needed
LoadImageLoads Image from data
MatchesChecks of the data matches another ImageInfo