Enum dae_parser::ShapeGeom [−][src]
pub enum ShapeGeom {
    Plane(Plane),
    Box(BoxShape),
    Sphere(Sphere),
    Cylinder(Cylinder),
    TaperedCylinder(TaperedCylinder),
    Capsule(Capsule),
    TaperedCapsule(TaperedCapsule),
    Geom(Instance<Geometry>),
}Expand description
The geometry of a shape. This can be either an inline definition
using Plane, Sphere etc, or a Instance<Geometry>,
which can reference other geometry types.
Variants
Plane(Plane)Defines an infinite plane primitive.
Tuple Fields of Plane
0: PlaneBox(BoxShape)Declares an axis-aligned, centered box primitive.
Tuple Fields of Box
0: BoxShapeSphere(Sphere)Describes a centered sphere primitive.
Tuple Fields of Sphere
0: SphereCylinder(Cylinder)Declares a cylinder primitive that is centered on, and aligned with, the local y axis.
Tuple Fields of Cylinder
0: CylinderTaperedCylinder(TaperedCylinder)Describes a tapered cylinder primitive that is centered on and aligned with the local y axis.
Tuple Fields of TaperedCylinder
Capsule(Capsule)Declares a capsule primitive that is centered on and aligned with the local y axis.
Tuple Fields of Capsule
0: CapsuleTaperedCapsule(TaperedCapsule)Describes a tapered capsule primitive that is centered on, and aligned with, the local y axis.
Tuple Fields of TaperedCapsule
A geometry instance using the Instance<Geometry> element, which
references any GeometryElement (Mesh or Spline).
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ShapeGeom
impl UnwindSafe for ShapeGeom
Blanket Implementations
Mutably borrows from an owned value. Read more