Enum physx::geometry::GeometryType
source · pub enum GeometryType {
Show 13 variants
Sphere,
Plane,
Capsule,
Box,
Convexmesh,
Particlesystem,
Tetrahedronmesh,
Trianglemesh,
Heightfield,
Hairsystem,
Custom,
GeometryCount,
Invalid,
}
Expand description
A geometry type.
Used to distinguish the type of a ::PxGeometry object.
Variants§
Sphere
Plane
Capsule
Box
Convexmesh
Particlesystem
Tetrahedronmesh
Trianglemesh
Heightfield
Hairsystem
Custom
GeometryCount
internal use only!
Invalid
internal use only!
Trait Implementations§
source§impl Clone for PxGeometryType
impl Clone for PxGeometryType
source§fn clone(&self) -> PxGeometryType
fn clone(&self) -> PxGeometryType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PxGeometryType
impl Debug for PxGeometryType
source§impl PartialEq<PxGeometryType> for PxGeometryType
impl PartialEq<PxGeometryType> for PxGeometryType
source§fn eq(&self, other: &PxGeometryType) -> bool
fn eq(&self, other: &PxGeometryType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.