Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageWithFrameDetails ¶ added in v1.1.0
type ImageWithFrameDetails struct { Image *ebiten.Image FrameData TexturePackerFrame }
type TexturePackerFrame ¶ added in v1.1.0
type TexturePackerFrame struct { Filename string `json:"filename,omitempty"` Rotated bool `json:"rotated,omitempty"` Trimmed bool `json:"trimmed,omitempty"` Frame struct { X int `json:"x,omitempty"` Y int `json:"y,omitempty"` W int `json:"w,omitempty"` H int `json:"h,omitempty"` } `json:"frame"` SpriteSourceSize struct { X int `json:"x,omitempty"` Y int `json:"y,omitempty"` W int `json:"w,omitempty"` H int `json:"h,omitempty"` } `json:"spriteSourceSize"` SourceSize struct { W int `json:"w,omitempty"` H int `json:"h,omitempty"` } `json:"sourceSize,omitempty"` }
type TexturePackerJSONArray ¶
type TexturePackerJSONArray struct { Frames []TexturePackerFrame `json:"frames,omitempty"` Meta struct { App string `json:"app,omitempty"` Version string `json:"version,omitempty"` Image string `json:"image,omitempty"` Format string `json:"format,omitempty"` Size struct { W int `json:"w,omitempty"` H int `json:"h,omitempty"` } `json:"size,omitempty"` Scale string `json:"scale,omitempty"` Smartupdate string `json:"smartupdate,omitempty"` } }
Click to show internal directories.
Click to hide internal directories.