#include <ShapeCast.h>
|
| static RShapeCast | sFromWorldTransform (const Shape *inShape, Vec3Arg inScale, typename RMat44::ArgType inWorldTransform, Vec3Arg inDirection) |
| | Construct a shape cast using a world transform for a shape instead of a center of mass transform.
|
| const Shape * | mShape |
| | Shape that's being cast (cannot be mesh shape). Note that this structure does not assume ownership over the shape for performance reasons.
|
| const Vec3 | mScale |
| | Scale in local space of the shape being cast (scales relative to its center of mass).
|
| const RMat44 | mCenterOfMassStart |
| | Start position and orientation of the center of mass of the shape (construct using sFromWorldTransform if you have a world transform for your shape).
|
| const Vec3 | mDirection |
| | Direction and length of the cast (anything beyond this length will not be reported as a hit).
|
| const AABox | mShapeWorldBounds |
| | Cached shape's world bounds, calculated in constructor.
|
◆ RShapeCast()
| RShapeCast::RShapeCast |
( |
const ShapeCast & | inCast | ) |
|
|
inlineexplicit |
Convert from ShapeCast, converts single to double precision.
◆ operator ShapeCast()
Convert to ShapeCast, which implies casting from double precision to single precision.
The documentation for this struct was generated from the following file: