![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "CoreMinimal.h"#include "Containers/ChunkedArray.h"#include "Templates/UnrealTemplate.h"#include <limits>Go to the source code of this file.
Classes | |
| struct | FkHitResult |
| struct | FVector3SOA |
| struct | FVector4SOA |
| struct | FTriangleSOA |
| struct | TTraversalHistory< KDOP_IDX_TYPE > |
| struct | FkDOPBuildCollisionTriangle< KDOP_IDX_TYPE > |
| struct | FFourBox |
| struct | TkDOPNode< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > |
| struct | TkDOPTree< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > |
| struct | TkDOPCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > |
| struct | TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > |
Macros | |
| #define | NUM_PLANES 3 |
| #define | kDOPArray TChunkedArray |
| #define | PLAIN_C 0 |
Functions | |
| FORCEINLINE bool | appLineCheckTriangle (const FVector4 &Start, const FVector4 &End, const FVector4 &Dir, const FVector4 &V0, const FVector4 &V1, const FVector4 &V2, const FVector4 &Normal, float &IntersectionTime) |
| #define kDOPArray TChunkedArray |
| #define NUM_PLANES 3 |
| #define PLAIN_C 0 |
| FORCEINLINE bool appLineCheckTriangle | ( | const FVector4 & | Start, |
| const FVector4 & | End, | ||
| const FVector4 & | Dir, | ||
| const FVector4 & | V0, | ||
| const FVector4 & | V1, | ||
| const FVector4 & | V2, | ||
| const FVector4 & | Normal, | ||
| float & | IntersectionTime | ||
| ) |
Line vs triangle intersection test.
| Start | Start of the line segment |
| End | End of the line segment |
| Dir | Direction of the line segment (not normalized, just End-Start) |
| V0 | First vertex of the triangle |
| V1 | Second vertex of the triangle |
| V2 | Third vertex of the triangle |
| Normal | Triangle normal (including +W for the plane equation) |
| IntersectionTime | [in/out] Best intersection time so far (0..1), as in: IntersectionPoint = Start + IntersectionTime * Dir. |