[][src]Struct three::Sprite

pub struct Sprite { /* fields omitted */ }

Two-dimensional bitmap that is integrated into a larger scene.

Methods

impl Sprite
[src]

Set area of the texture to render. It can be used in sequential animations.

Trait Implementations

impl Object for Sprite
[src]

The internal data for the object. Read more

Converts into the base type.

Invisible objects are not rendered by cameras.

Sets the name of the object.

Set both position, orientation and scale.

Set position.

Set orientation.

Set scale.

Set weights.

Rotates object in the specific direction of target.

impl DowncastObject for Sprite
[src]

impl PartialEq<Sprite> for Sprite
[src]

impl Clone for Sprite
[src]

Performs copy-assignment from source. Read more

impl Eq for Sprite
[src]

impl AsRef<Base> for Sprite
[src]

impl Debug for Sprite
[src]

impl Hash for Sprite
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl !Send for Sprite

impl !Sync for Sprite

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> SetParameter for T

Sets value as a parameter of self.

impl<T> Erased for T