Classes | |
class | PxBoxGeometry |
Class representing the geometry of a box. More... | |
class | PxCapsuleGeometry |
Class representing the geometry of a capsule. More... | |
struct | PxHullPolygon |
Polygon data. More... | |
class | PxConvexMesh |
A convex mesh. More... | |
class | PxConvexMeshGeometry |
Convex mesh geometry class. More... | |
struct | PxGeometryType |
A geometry type. More... | |
class | PxGeometry |
A geometry object. More... | |
class | PxGeometryHolder |
Geometry holder class. More... | |
class | PxGeometryQuery |
Collection of geometry object queries (sweeps, raycasts, overlaps, ...). More... | |
class | PxHeightField |
A height field class. More... | |
class | PxHeightFieldDesc |
Descriptor class for PxHeightField. More... | |
struct | PxHeightFieldFormat |
Describes the format of height field samples. More... | |
struct | PxHeightFieldTessFlag |
Determines the tessellation of height field cells. More... | |
struct | PxHeightFieldFlag |
Enum with flag values to be used in PxHeightFieldDesc.flags. More... | |
class | PxHeightFieldGeometry |
Height field geometry class. More... | |
struct | PxHeightFieldMaterial |
Special material index values for height field samples. More... | |
struct | PxHeightFieldSample |
Heightfield sample format. More... | |
class | PxMeshQuery |
class | PxMeshScale |
A class expressing a nonuniform scaling transformation. More... | |
class | PxPlaneGeometry |
Class describing a plane geometry. More... | |
struct | PxMeshFlag |
Enum with flag values to be used in PxSimpleTriangleMesh::flags. More... | |
class | PxSimpleTriangleMesh |
A structure describing a triangle mesh. More... | |
class | PxSphereGeometry |
A class representing the geometry of a sphere. More... | |
class | PxTriangle |
Triangle class. More... | |
struct | PxTriangleMeshFlag |
Flags for the mesh geometry properties. More... | |
class | PxTriangleMesh |
A triangle mesh, also called a 'polygon soup'. More... | |
struct | PxMeshGeometryFlag |
Some flags to control the simulated behavior of the mesh geometry. More... | |
class | PxTriangleMeshGeometry |
Triangle mesh geometry class. More... | |
Macros | |
#define | PX_MIN_HEIGHTFIELD_XZ_SCALE 1e-8f |
#define | PX_MIN_HEIGHTFIELD_Y_SCALE (0.0001f / PxReal(0xFFFF)) |
Typedefs | |
typedef PxFlags < PxHeightFieldFlag::Enum, PxU16 > | PxHeightFieldFlags |
collection of set bits defined in PxHeightFieldFlag. More... | |
typedef PxFlags < PxMeshFlag::Enum, PxU16 > | PxMeshFlags |
collection of set bits defined in PxMeshFlag. More... | |
typedef PxFlags < PxTriangleMeshFlag::Enum, PxU8 > | PxTriangleMeshFlags |
collection of set bits defined in PxTriangleMeshFlag. More... | |
typedef PxFlags < PxMeshGeometryFlag::Enum, PxU8 > | PxMeshGeometryFlags |
collection of set bits defined in PxMeshGeometryFlag. More... | |
Functions | |
PX_FOUNDATION_API PxTransform | PxTransformFromSegment (const PxVec3 &p0, const PxVec3 &p1, PxReal *halfHeight=NULL) |
creates a transform from the endpoints of a segment, suitable for an actor transform for a PxCapsuleGeometry More... | |
class PxGeometryHolder | PX_ALIGN_SUFFIX (4) |
PX_FOUNDATION_API PxTransform | PxTransformFromPlaneEquation (const PxPlane &plane) |
creates a transform from a plane equation, suitable for an actor transform for a PxPlaneGeometry More... | |
PX_INLINE PxPlane | PxPlaneEquationFromTransform (const PxTransform &transform) |
creates a plane equation from a transform, such as the actor transform for a PxPlaneGeometry More... | |
PX_INLINE bool | PxBoxGeometry::isValid () const |
Returns true if the geometry is valid. More... | |
PX_INLINE bool | PxCapsuleGeometry::isValid () const |
Returns true if the geometry is valid. More... | |
PX_INLINE bool | PxConvexMeshGeometry::isValid () const |
Returns true if the geometry is valid. More... | |
PX_INLINE | PxHeightFieldDesc::PxHeightFieldDesc () |
Constructor sets to default. More... | |
PX_INLINE void | PxHeightFieldDesc::setToDefault () |
(re)sets the structure to the default. More... | |
PX_INLINE bool | PxHeightFieldDesc::isValid () const |
Returns true if the descriptor is valid. More... | |
PX_INLINE bool | PxHeightFieldGeometry::isValid () const |
Returns true if the geometry is valid. More... | |
PX_INLINE bool | PxPlaneGeometry::isValid () const |
Returns true if the geometry is valid. More... | |
PX_INLINE | PxSimpleTriangleMesh::PxSimpleTriangleMesh () |
constructor sets to default. More... | |
PX_INLINE void | PxSimpleTriangleMesh::setToDefault () |
(re)sets the structure to the default. More... | |
PX_INLINE bool | PxSimpleTriangleMesh::isValid () const |
returns true if the current settings are valid More... | |
PX_INLINE bool | PxSphereGeometry::isValid () const |
Returns true if the geometry is valid. More... | |
PX_INLINE bool | PxTriangleMeshGeometry::isValid () const |
Returns true if the geometry is valid. More... | |
#define PX_MIN_HEIGHTFIELD_XZ_SCALE 1e-8f |
Referenced by PxHeightFieldGeometry::isValid().
#define PX_MIN_HEIGHTFIELD_Y_SCALE (0.0001f / PxReal(0xFFFF)) |
Referenced by PxHeightFieldGeometry::isValid().
collection of set bits defined in PxHeightFieldFlag.
typedef PxFlags<PxMeshFlag::Enum,PxU16> PxMeshFlags |
collection of set bits defined in PxMeshFlag.
collection of set bits defined in PxMeshGeometryFlag.
collection of set bits defined in PxTriangleMeshFlag.
PX_INLINE bool PxSphereGeometry::isValid | ( | ) | const |
Returns true if the geometry is valid.
References PxGeometryType::eSPHERE, and PxIsFinite().
PX_INLINE bool PxPlaneGeometry::isValid | ( | ) | const |
Returns true if the geometry is valid.
References PxGeometryType::ePLANE.
PX_INLINE bool PxCapsuleGeometry::isValid | ( | ) | const |
Returns true if the geometry is valid.
References PxGeometryType::eCAPSULE, and PxIsFinite().
PX_INLINE bool PxBoxGeometry::isValid | ( | ) | const |
Returns true if the geometry is valid.
References PxGeometryType::eBOX.
PX_INLINE bool PxHeightFieldGeometry::isValid | ( | ) | const |
Returns true if the geometry is valid.
References PxGeometryType::eHEIGHTFIELD, heightField(), PX_MIN_HEIGHTFIELD_XZ_SCALE, PX_MIN_HEIGHTFIELD_Y_SCALE, and PxIsFinite().
PX_INLINE bool PxConvexMeshGeometry::isValid | ( | ) | const |
Returns true if the geometry is valid.
References convexMesh(), and PxGeometryType::eCONVEXMESH.
PX_INLINE bool PxTriangleMeshGeometry::isValid | ( | ) | const |
Returns true if the geometry is valid.
References PxGeometryType::eTRIANGLEMESH, and triangleMesh().
PX_INLINE bool PxSimpleTriangleMesh::isValid | ( | ) | const |
returns true if the current settings are valid
References PxMeshFlag::e16_BIT_INDICES, and flags.
Referenced by PxTriangleMeshDesc::isValid().
PX_INLINE bool PxHeightFieldDesc::isValid | ( | ) | const |
Returns true if the descriptor is valid.
References PxHeightFieldFlag::eNO_BOUNDARY_EDGES, PxHeightFieldFormat::eS16_TM, flags, and PX_MAX_BOUNDS_EXTENTS.
class PxGeometryHolder PX_ALIGN_SUFFIX | ( | 4 | ) |
PX_INLINE PxHeightFieldDesc::PxHeightFieldDesc | ( | ) |
Constructor sets to default.
References PxHeightFieldFormat::eS16_TM, and flags.
PX_INLINE PxPlane PxPlaneEquationFromTransform | ( | const PxTransform & | transform | ) |
creates a plane equation from a transform, such as the actor transform for a PxPlaneGeometry
[in] | transform | the transform |
References PxTransform::transform().
PX_INLINE PxSimpleTriangleMesh::PxSimpleTriangleMesh | ( | ) |
constructor sets to default.
PX_FOUNDATION_API PxTransform PxTransformFromPlaneEquation | ( | const PxPlane & | plane | ) |
creates a transform from a plane equation, suitable for an actor transform for a PxPlaneGeometry
[in] | plane | the desired plane equation |
PX_FOUNDATION_API PxTransform PxTransformFromSegment | ( | const PxVec3 & | p0, |
const PxVec3 & | p1, | ||
PxReal * | halfHeight = NULL |
||
) |
creates a transform from the endpoints of a segment, suitable for an actor transform for a PxCapsuleGeometry
[in] | p0 | one end of major axis of the capsule |
[in] | p1 | the other end of the axis of the capsule |
[out] | halfHeight | the halfHeight of the capsule. This parameter is optional. |
PX_INLINE void PxSimpleTriangleMesh::setToDefault | ( | ) |
(re)sets the structure to the default.
Referenced by PxTriangleMeshDesc::PxTriangleMeshDesc().
PX_INLINE void PxHeightFieldDesc::setToDefault | ( | ) |
(re)sets the structure to the default.