Struct three::Sprite [] [src]

pub struct Sprite { /* fields omitted */ }

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

Methods

impl Sprite
[src]

[src]

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

Trait Implementations

impl Clone for Sprite
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Sprite
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Sprite
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Sprite
[src]

impl Hash for Sprite
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

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

impl AsRef<Base> for Sprite
[src]

[src]

Performs the conversion.

impl Object for Sprite
[src]

[src]

Converts into the base type.

[src]

Invisible objects are not rendered by cameras.

[src]

Set both position, orientation and scale.

[src]

Set position.

[src]

Set orientation.

[src]

Set scale.

[src]

Set weights.

[src]

Rotates object in the specific direction of target.

Auto Trait Implementations

impl !Send for Sprite

impl !Sync for Sprite