UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::Raycasts Namespace Reference

Functions

template<typename T , int d>
bool RayAabb (const TVector< FReal, d > &RayStart, const TVector< FReal, d > &RayDir, const FReal RayLength, const FReal RayThickness, const TVector< T, d > &AabbMin, const TVector< T, d > &AabbMax, FReal &OutTime, TVector< FReal, d > &OutPosition, TVector< FReal, d > &OutNormal, int32 &OutFaceIndex)
 
bool RayCapsule (const FVec3 &RayStart, const FVec3 &RayDir, const FReal RayLength, const FReal RayThickness, FReal CapsuleRadius, FReal CapsuleHeight, const FVec3 &CapsuleAxis, const FVec3 &CapsuleX1, const FVec3 &CapsuleX2, FReal &OutTime, FVec3 &OutPosition, FVec3 &OutNormal)
 
template bool RayAabb< Chaos::FRealSingle, 3 > (const TVector< FReal, 3 > &, const TVector< FReal, 3 > &, const FReal, const FReal, const TVector< FRealSingle, 3 > &, const TVector< FRealSingle, 3 > &, FReal &, TVector< FReal, 3 > &, TVector< FReal, 3 > &, int32 &)
 
template bool RayAabb< Chaos::FReal, 3 > (const TVector< FReal, 3 > &, const TVector< FReal, 3 > &, const FReal, const FReal, const TVector< FReal, 3 > &, const TVector< FReal, 3 > &, FReal &, TVector< FReal, 3 > &, TVector< FReal, 3 > &, int32 &)
 
template<typename T , int d>
CHAOSCORE_API bool RayAabb (const TVector< FReal, d > &RayStart, const TVector< FReal, d > &RayDir, const FReal RayLength, const FReal RayThickness, const TVector< T, d > &AabbMin, const TVector< T, d > &AabbMax, FReal &OutTime, TVector< FReal, d > &OutPosition, TVector< FReal, d > &OutNormal, int32 &OutFaceIndex)
 
template<typename T , int d>
FORCEINLINE bool RayAabb (const TVector< FReal, d > &RayStart, const TVector< FReal, d > &RayDir, const TVector< FReal, d > &InvRayDir, const bool *bRayParallel, const FReal RayLength, const TVector< T, d > &AabbMin, const TVector< T, d > &AabbMax, FReal &OutEntryTime, FReal &OutExitTime)
 
template<typename T , int d>
bool RaySphere (const TVector< T, d > &RayStart, const TVector< T, d > &RayDir, const T RayLength, const T RayThickness, const FVec3f &SphereCenter, const FRealSingle SphereRadius, T &OutTime, TVector< T, d > &OutPosition, TVector< T, d > &OutNormal)
 

Function Documentation

◆ RayAabb() [1/3]

template<typename T , int d>
bool Chaos::Raycasts::RayAabb ( const TVector< FReal, d > &  RayStart,
const TVector< FReal, d > &  RayDir,
const FReal  RayLength,
const FReal  RayThickness,
const TVector< T, d > &  AabbMin,
const TVector< T, d > &  AabbMax,
FReal OutTime,
TVector< FReal, d > &  OutPosition,
TVector< FReal, d > &  OutNormal,
int32 OutFaceIndex 
)

◆ RayAabb() [2/3]

template<typename T , int d>
CHAOSCORE_API bool Chaos::Raycasts::RayAabb ( const TVector< FReal, d > &  RayStart,
const TVector< FReal, d > &  RayDir,
const FReal  RayLength,
const FReal  RayThickness,
const TVector< T, d > &  AabbMin,
const TVector< T, d > &  AabbMax,
FReal OutTime,
TVector< FReal, d > &  OutPosition,
TVector< FReal, d > &  OutNormal,
int32 OutFaceIndex 
)

◆ RayAabb() [3/3]

template<typename T , int d>
FORCEINLINE bool Chaos::Raycasts::RayAabb ( const TVector< FReal, d > &  RayStart,
const TVector< FReal, d > &  RayDir,
const TVector< FReal, d > &  InvRayDir,
const bool bRayParallel,
const FReal  RayLength,
const TVector< T, d > &  AabbMin,
const TVector< T, d > &  AabbMax,
FReal OutEntryTime,
FReal OutExitTime 
)

◆ RayAabb< Chaos::FReal, 3 >()

template bool Chaos::Raycasts::RayAabb< Chaos::FReal, 3 > ( const TVector< FReal, 3 > &  ,
const TVector< FReal, 3 > &  ,
const FReal  ,
const FReal  ,
const TVector< FReal, 3 > &  ,
const TVector< FReal, 3 > &  ,
FReal ,
TVector< FReal, 3 > &  ,
TVector< FReal, 3 > &  ,
int32  
)

◆ RayAabb< Chaos::FRealSingle, 3 >()

template bool Chaos::Raycasts::RayAabb< Chaos::FRealSingle, 3 > ( const TVector< FReal, 3 > &  ,
const TVector< FReal, 3 > &  ,
const FReal  ,
const FReal  ,
const TVector< FRealSingle, 3 > &  ,
const TVector< FRealSingle, 3 > &  ,
FReal ,
TVector< FReal, 3 > &  ,
TVector< FReal, 3 > &  ,
int32  
)

◆ RayCapsule()

CHAOSCORE_API bool Chaos::Raycasts::RayCapsule ( const FVec3 RayStart,
const FVec3 RayDir,
const FReal  RayLength,
const FReal  RayThickness,
FReal  CapsuleRadius,
FReal  CapsuleHeight,
const FVec3 CapsuleAxis,
const FVec3 CapsuleX1,
const FVec3 CapsuleX2,
FReal OutTime,
FVec3 OutPosition,
FVec3 OutNormal 
)

◆ RaySphere()

template<typename T , int d>
bool Chaos::Raycasts::RaySphere ( const TVector< T, d > &  RayStart,
const TVector< T, d > &  RayDir,
const T  RayLength,
const T  RayThickness,
const FVec3f SphereCenter,
const FRealSingle  SphereRadius,
T &  OutTime,
TVector< T, d > &  OutPosition,
TVector< T, d > &  OutNormal 
)