UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::FTriangleMeshSweepVisitor< QueryGeomType, IdxType > Struct Template Reference

Public Member Functions

 FTriangleMeshSweepVisitor (const FTriangleMeshImplicitObject &InTriMesh, const TArray< TVec3< IdxType > > &InElements, const QueryGeomType &InQueryGeom, const FVec3 &InScaledDirNormalized, const FReal InLengthScale, const FRigidTransform3 &InScaledStartTM, const bool InComputeMTD, FVec3 InTriMeshScale, FReal InCullsBackFaceSweepsCode)
 
const voidGetQueryData () const
 
const voidGetSimData () const
 
const voidGetQueryPayload () const
 
bool VisitOverlap (const TSpatialVisitorData< int32 > &VisitData)
 
bool VisitRaycast (const TSpatialVisitorData< int32 > &VisitData, FRealSingle &CurDataLength)
 
bool VisitSweep (const TSpatialVisitorData< int32 > &VisitData, FRealSingle &CurDataLength)
 

Public Attributes

const FTriangleMeshImplicitObjectTriMesh
 
const TArray< TVec3< IdxType > > & Elements
 
const FRigidTransform3 StartTM
 
const QueryGeomTypeQueryGeom
 
const bool bComputeMTD
 
const FReal CullsBackFaceSweepsCode
 
VectorRegister4Float VectorCullsBackFaceSweepsCode
 
FVec3 ScaledDirNormalized
 
VectorRegister4Float VectorScaledDirNormalized
 
FRealSingle LengthScale
 
FRealSingle OutTime
 
FVec3 OutPosition
 
FVec3 OutNormal
 
int32 OutFaceIndex
 
FVec3 OutFaceNormal
 
FVec3 TriMeshScale
 
VectorRegister4Float RotationSimd
 
VectorRegister4Float TranslationSimd
 
VectorRegister4Float RayDirSimd
 
VectorRegister4Float OutPositionSimd
 
VectorRegister4Float OutNormalSimd
 
FAABBVectorized GeometryAABBTriangleSpace
 

Constructor & Destructor Documentation

◆ FTriangleMeshSweepVisitor()

Chaos::FTriangleMeshSweepVisitor< QueryGeomType, IdxType >::FTriangleMeshSweepVisitor ( const FTriangleMeshImplicitObject InTriMesh,
const TArray< TVec3< IdxType > > &  InElements,
const QueryGeomType InQueryGeom,
const FVec3 InScaledDirNormalized,
const FReal  InLengthScale,
const FRigidTransform3 InScaledStartTM,
const bool  InComputeMTD,
FVec3  InTriMeshScale,
FReal  InCullsBackFaceSweepsCode 
)
inline

Member Function Documentation

◆ GetQueryData()

const void * Chaos::FTriangleMeshSweepVisitor< QueryGeomType, IdxType >::GetQueryData ( ) const
inline

◆ GetQueryPayload()

const void * Chaos::FTriangleMeshSweepVisitor< QueryGeomType, IdxType >::GetQueryPayload ( ) const
inline

Return a pointer to the payload on which we are querying the acceleration structure

◆ GetSimData()

const void * Chaos::FTriangleMeshSweepVisitor< QueryGeomType, IdxType >::GetSimData ( ) const
inline

◆ VisitOverlap()

◆ VisitRaycast()

bool Chaos::FTriangleMeshSweepVisitor< QueryGeomType, IdxType >::VisitRaycast ( const TSpatialVisitorData< int32 > &  VisitData,
FRealSingle CurDataLength 
)
inline

◆ VisitSweep()

bool Chaos::FTriangleMeshSweepVisitor< QueryGeomType, IdxType >::VisitSweep ( const TSpatialVisitorData< int32 > &  VisitData,
FRealSingle CurDataLength 
)
inline

Member Data Documentation

◆ bComputeMTD

◆ CullsBackFaceSweepsCode

◆ Elements

◆ GeometryAABBTriangleSpace

◆ LengthScale

◆ OutFaceIndex

◆ OutFaceNormal

◆ OutNormal

◆ OutNormalSimd

◆ OutPosition

◆ OutPositionSimd

◆ OutTime

◆ QueryGeom

◆ RayDirSimd

◆ RotationSimd

◆ ScaledDirNormalized

◆ StartTM

◆ TranslationSimd

◆ TriMesh

◆ TriMeshScale

◆ VectorCullsBackFaceSweepsCode

◆ VectorScaledDirNormalized


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