Struct bevy::prelude::SpriteSheetBundle[]

pub struct SpriteSheetBundle {
    pub sprite: TextureAtlasSprite,
    pub texture_atlas: Handle<TextureAtlas>,
    pub draw: Draw,
    pub visible: Visible,
    pub render_pipelines: RenderPipelines,
    pub main_pass: MainPass,
    pub mesh: Handle<Mesh>,
    pub transform: Transform,
    pub global_transform: GlobalTransform,

A Bundle of components for drawing a single sprite from a sprite sheet (also referred to as a TextureAtlas)


sprite: TextureAtlasSprite

The specific sprite from the texture atlas to be drawn

texture_atlas: Handle<TextureAtlas>

A handle to the texture atlas that holds the sprite images

draw: Draw

Data pertaining to how the sprite is drawn on the screen

visible: Visiblerender_pipelines: RenderPipelinesmain_pass: MainPassmesh: Handle<Mesh>transform: Transformglobal_transform: GlobalTransform

Trait Implementations

impl Bundle for SpriteSheetBundle

SAFE: TypeInfo is returned in field-definition-order. [from_components] and [get_components] use field-definition-order

impl Clone for SpriteSheetBundle

impl Default for SpriteSheetBundle

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> CloneAny for T where
    T: Any + Clone

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any

impl<T> Downcast<T> for T

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> From<T> for T[src]

impl<T> FromWorld for T where
    T: Default

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> TypeData for T where
    T: 'static + Send + Sync + Clone

impl<T> Upcast<T> for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,