Struct amethyst_renderer::Mesh [] [src]

pub struct Mesh { /* fields omitted */ }

Represents a polygonal mesh.

Methods

impl Mesh
[src]

[src]

Builds a new mesh from the given vertices.

[src]

Returns the mesh's vertex buffer which matches requested attributes

[src]

Returns associated Slice

[src]

Returns the transformation matrix of the mesh.

This four-by-four matrix applies translation, rotation, and scaling to the mesh. It is often referred to in the computer graphics industry as the "model matrix".

Trait Implementations

impl Asset for Mesh
[src]

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.

impl Clone for Mesh
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Mesh
[src]

[src]

Formats the value using the given formatter.