Struct three::Sprite [] [src]

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.

Methods from Deref<Target = Object>

Invisible objects are not rendered by cameras.

Rotates object in the specific direction of target.

Set both position, orientation and scale.

Set position.

Set orientation.

Set scale.

Get actual information about itself from the scene.

Panics

Panics if scene doesn't have this Object.

Trait Implementations

impl AsRef<NodePointer> for Sprite
[src]

Performs the conversion.

impl Deref for Sprite
[src]

The resulting type after dereferencing

The method called to dereference a value

impl DerefMut for Sprite
[src]

The method called to mutably dereference a value