Struct amethyst_renderer::SpriteSheet[][src]

pub struct SpriteSheet {
    pub index: usize,
    pub sprites: Vec<Sprite>,
}

Meta data for a sprite sheet texture.

Contains a handle to the texture and the sprite coordinates on the texture.

Fields

Index of the texture for this sprite sheet.

A list of sprites in this sprite sheet.

Trait Implementations

impl Clone for SpriteSheet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SpriteSheet
[src]

Formats the value using the given formatter. Read more

impl Asset for SpriteSheet
[src]

NAME: &'static str = "renderer::Sprite"

An identifier for this asset used for debugging.

The Data type the asset can be created from.

The ECS storage type to be used. You'll want to use VecStorage in most cases.

Auto Trait Implementations

impl Send for SpriteSheet

impl Sync for SpriteSheet