![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Public Types | |
| enum class | ERaycastType { Raycast , Sweep } |
| using | ParticlesType = FTriangleMeshImplicitObject::ParticlesType |
Public Member Functions | |
| FTriangleMeshRaycastVisitor (const FVec3 &InStart, const FVec3 &InDir, const FReal InThickness, const ParticlesType &InParticles, const TArray< TVector< IdxType, 3 > > &InElements, bool bInCullsBackFaceRaycast) | |
| const void * | GetQueryData () const |
| const void * | GetSimData () const |
| const void * | GetQueryPayload () const |
| bool | VisitRaycast (TSpatialVisitorData< int32 > TriIdx, FRealSingle &CurDataLength) |
| bool | VisitSweep (TSpatialVisitorData< int32 > TriIdx, FRealSingle &CurDataLength) |
| bool | VisitOverlap (TSpatialVisitorData< int32 > TriIdx) |
Public Attributes | |
| const ParticlesType & | Particles |
| const TArray< TVector< IdxType, 3 > > & | Elements |
| const FVec3 & | StartPoint |
| const FVec3 & | Dir |
| const FReal | Thickness |
| FReal | OutTime |
| FVec3 | OutPosition |
| FVec3 | OutNormal |
| int32 | OutFaceIndex |
| bool | bCullsBackFaceRaycast |
| TArray< int32 > | RaycastTriangles |
| using Chaos::FTriangleMeshRaycastVisitor< IdxType >::ParticlesType = FTriangleMeshImplicitObject::ParticlesType |
|
strong |
|
inline |
|
inline |
|
inline |
Return a pointer to the payload on which we are querying the acceleration structure
|
inline |
|
inline |
|
inline |
find the intersection of a ray and the triangle at index TriIdx
|
inline |
| bool Chaos::FTriangleMeshRaycastVisitor< IdxType >::bCullsBackFaceRaycast |
| const FVec3& Chaos::FTriangleMeshRaycastVisitor< IdxType >::Dir |
| const TArray<TVector<IdxType, 3> >& Chaos::FTriangleMeshRaycastVisitor< IdxType >::Elements |
| int32 Chaos::FTriangleMeshRaycastVisitor< IdxType >::OutFaceIndex |
| FVec3 Chaos::FTriangleMeshRaycastVisitor< IdxType >::OutNormal |
| FVec3 Chaos::FTriangleMeshRaycastVisitor< IdxType >::OutPosition |
| FReal Chaos::FTriangleMeshRaycastVisitor< IdxType >::OutTime |
| const ParticlesType& Chaos::FTriangleMeshRaycastVisitor< IdxType >::Particles |
| TArray<int32> Chaos::FTriangleMeshRaycastVisitor< IdxType >::RaycastTriangles |
| const FVec3& Chaos::FTriangleMeshRaycastVisitor< IdxType >::StartPoint |
| const FReal Chaos::FTriangleMeshRaycastVisitor< IdxType >::Thickness |