Struct wavefront_obj::obj::Object [] [src]

pub struct Object {
    pub name: String,
    pub vertices: Vec<Vertex>,
    pub tex_vertices: Vec<TVertex>,
    pub normals: Vec<Normal>,
    pub geometry: Vec<Geometry>,
}

A mesh object.

Fields

A human-readable name for this object. This can be set in blender.

The set of vertices this object is composed of. These are referenced by index in shapes contained within each element of geometry.

The set of texture vertices referenced by this object. The actual vertices are indexed by the second element in a VTNIndex.

The set of normals referenced by this object. This are are referenced by the third element in a VTNIndex.

A set of shapes (with materials applied to them) of which this object is composed.

Trait Implementations

impl Clone for Object
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Object
[src]

Formats the value using the given formatter.

impl PartialEq for Object
[src]

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

This method tests for !=.