Struct amethyst_renderer::SpriteSheet [−][src]
Meta data for a sprite sheet texture.
Contains a handle to the texture and the sprite coordinates on the texture.
Fields
index: usize
Index of the texture for this sprite sheet.
sprites: Vec<Sprite>
A list of sprites in this sprite sheet.
Trait Implementations
impl Clone for SpriteSheet
[src]
impl Clone for SpriteSheet
fn clone(&self) -> SpriteSheet
[src]
fn clone(&self) -> SpriteSheet
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for SpriteSheet
[src]
impl Debug for SpriteSheet
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Asset for SpriteSheet
[src]
impl Asset for SpriteSheet
const NAME: &'static str
NAME: &'static str = "renderer::Sprite"
An identifier for this asset used for debugging.
type Data = Self
The Data
type the asset can be created from.
type HandleStorage = VecStorage<Handle<Self>>
The ECS storage type to be used. You'll want to use VecStorage
in most cases.
Auto Trait Implementations
impl Send for SpriteSheet
impl Send for SpriteSheet
impl Sync for SpriteSheet
impl Sync for SpriteSheet