[][src]Struct collada::Object

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

A mesh object.

Fields

id: Stringname: String

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

vertices: Vec<Vertex>

The set of vertices this object is composed of. These are referenced by index in faces.

joint_weights: Vec<JointWeights>

The set of attached joints for each vertex. Should match length of 'vertices' if present

tex_vertices: Vec<TVertex>

The set of texture vertices referenced by this object. The actual vertices are indexed by a PrimitiveElement.

normals: Vec<Normal>

The set of normals referenced by this object. The actual normals are indexed by a PrimitiveElement.

geometry: Vec<Geometry>

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

Trait Implementations

impl Clone for Object[src]

impl Debug for Object[src]

Auto Trait Implementations

impl RefUnwindSafe for Object

impl Send for Object

impl Sync for Object

impl Unpin for Object

impl UnwindSafe for Object

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.