PxGeometry

Defined in include/geometry/PxGeometry.h

class PxGeometry

A geometry object.

A geometry object defines the characteristics of a spatial object, but without any information about its placement in the world.

Note

This is an abstract class. You cannot create instances directly. Create an instance of one of the derived classes instead.

Subclassed by PxBoxGeometry, PxCapsuleGeometry, PxConvexMeshGeometry, PxCustomGeometry, PxHairSystemGeometry, PxHeightFieldGeometry, PxParticleSystemGeometry, PxPlaneGeometry, PxSphereGeometry, PxTetrahedronMeshGeometry, PxTriangleMeshGeometry

Public Functions

inline PxGeometryType::Enum getType() const

Returns the type of the geometry.

Returns

The type of the object.

inline void operator=(const PxGeometry &that)

Assignment operator.

Public Members

float mTypePadding

Protected Functions

inline PxGeometry(PxGeometryType::Enum type)
inline PxGeometry(const PxGeometry &that)

Protected Attributes

PxGeometryType::Enum mType