Struct obj_exporter::Shape [] [src]

pub struct Shape {
    pub primitive: Primitive,
    pub groups: Vec<String>,
    pub smoothing_groups: Vec<u32>,
}

A shape gathers a primitive and groups.

Each shape is associated with 0 or many groups. Those are text identifiers used to gather geometry elements into different groups.

Fields

The primitive of the shape.

Associated groups. No associated group means the shape uses the default group.

Associated smoothing groups. No associated smoothing group means the shape should be rendered flat.

Trait Implementations

impl Clone for Shape
[src]

[src]

impl PartialEq<Shape> for Shape
[src]

[src]

[src]

impl Debug for Shape
[src]

[src]