|
RavEngine
|
Class representing the geometry of a box.
More...
#include <PxBoxGeometry.h>
Public Member Functions | |
| PX_INLINE | PxBoxGeometry (PxReal hx=0.0f, PxReal hy=0.0f, PxReal hz=0.0f) |
| Constructor to initialize half extents from scalar parameters. | |
| PX_INLINE | PxBoxGeometry (PxVec3 halfExtents_) |
| Constructor to initialize half extents from vector parameter. | |
| PX_INLINE | PxBoxGeometry (const PxBoxGeometry &that) |
| Copy constructor. | |
| PX_INLINE void | operator= (const PxBoxGeometry &that) |
| Assignment operator. | |
| PX_INLINE bool | isValid () const |
| Returns true if the geometry is valid. | |
Public Member Functions inherited from physx::PxGeometry | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxGeometryType::Enum | getType () const |
| Returns the type of the geometry. | |
| PX_INLINE void | operator= (const PxGeometry &that) |
| Assignment operator. | |
Public Attributes | |
| PxVec3 | halfExtents |
| Half of the width, height, and depth of the box. | |
Public Attributes inherited from physx::PxGeometry | |
| float | mTypePadding |
Additional Inherited Members | |
Protected Member Functions inherited from physx::PxGeometry | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxGeometry (PxGeometryType::Enum type) |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxGeometry (const PxGeometry &that) |
Protected Attributes inherited from physx::PxGeometry | |
| PxGeometryType::Enum | mType |
Class representing the geometry of a box.
The geometry of a box can be fully specified by its half extents. This is the half of its width, height, and depth.
|
inline |
Constructor to initialize half extents from scalar parameters.
| hx | Initial half extents' x component. |
| hy | Initial half extents' y component. |
| hz | Initial half extents' z component. |
Constructor to initialize half extents from vector parameter.
| halfExtents_ | Initial half extents. |
|
inline |
Copy constructor.
| [in] | that | Other object |
| PX_INLINE bool physx::PxBoxGeometry::isValid | ( | ) | const |
Returns true if the geometry is valid.