Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
RayCastSettings Class Reference

Settings to be passed with a ray cast. More...

#include <RayCast.h>

Public Attributes

JPH_OVERRIDE_NEW_DELETE EBackFaceMode mBackFaceMode = EBackFaceMode::IgnoreBackFaces
 How backfacing triangles should be treated.
 
bool mTreatConvexAsSolid = true
 If convex shapes should be treated as solid. When true, a ray starting inside a convex shape will generate a hit at fraction 0.
 

Detailed Description

Settings to be passed with a ray cast.

Member Data Documentation

◆ mBackFaceMode

How backfacing triangles should be treated.

◆ mTreatConvexAsSolid

bool RayCastSettings::mTreatConvexAsSolid = true

If convex shapes should be treated as solid. When true, a ray starting inside a convex shape will generate a hit at fraction 0.


The documentation for this class was generated from the following file: