![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <kDOP.h>
Inheritance diagram for TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >:Public Member Functions | |
| TkDOPLineCollisionCheck (const FVector4 &InStart, const FVector4 &InEnd, bool bInbFindClosestIntersection, const COLL_DATA_PROVIDER &InCollDataProvider, FkHitResult *InResult) | |
| FVector4 | GetHitNormal (void) |
| TkDOPLineCollisionCheck (const FVector4 &InStart, const FVector4 &InEnd, bool bInbFindClosestIntersection, const COLL_DATA_PROVIDER &InCollDataProvider, FkHitResult *InResult) | |
| FORCEINLINE FVector4 | GetHitNormal (void) |
Public Member Functions inherited from TkDOPCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > | |
| TkDOPCollisionCheck (const DataProviderType &InCollDataProvider) | |
| TkDOPCollisionCheck (const DataProviderType &InCollDataProvider) | |
Public Attributes | |
| FkHitResult * | Result |
| const FVector4 & | Start |
| const FVector4 & | End |
| const bool | bFindClosestIntersection |
| FVector4 | LocalStart |
| FVector4 | LocalEnd |
| FVector4 | LocalDir |
| FVector4 | LocalOneOverDir |
| FVector4 | LocalHitNormal |
| KDOP_IDX_TYPE | HitNodeIndex |
| FVector3SOA | StartSOA |
| FVector3SOA | EndSOA |
| FVector3SOA | DirSOA |
Public Attributes inherited from TkDOPCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > | |
| const DataProviderType & | CollDataProvider |
| const TreeType & | kDOPTree |
| const kDOPArray< NodeType > & | Nodes |
| const kDOPArray< FTriangleSOA > & | SOATriangles |
Additional Inherited Members | |
Public Types inherited from TkDOPCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > | |
| typedef COLL_DATA_PROVIDER | DataProviderType |
| typedef TkDOPNode< DataProviderType, KDOP_IDX_TYPE > | NodeType |
| typedef TkDOPTree< DataProviderType, KDOP_IDX_TYPE > | TreeType |
| typedef COLL_DATA_PROVIDER | DataProviderType |
| typedef TkDOPNode< DataProviderType, KDOP_IDX_TYPE > | NodeType |
| typedef TkDOPTree< DataProviderType, KDOP_IDX_TYPE > | TreeType |
This struct holds the information used to do a line check against the kDOP tree. The collision provider gives access to various matrices, vertex data etc. without having to use virtual functions.
|
inline |
Sets up the FkDOPLineCollisionCheck structure for performing line checks against a kDOPTree. Initializes all of the variables that are used throughout the line check.
| InStart | – The starting point of the trace |
| InEnd | – The ending point of the trace |
| InbFindClosestIntersection | – Whether to stop at the first hit or not |
| InCollDataProvider | – The struct that provides access to mesh/primitive specific data, such as L2W, W2L, Vertices, and so on |
| InResult | – The out param for hit result information |
|
inline |
Sets up the FkDOPLineCollisionCheck structure for performing line checks against a kDOPTree. Initializes all of the variables that are used throughout the line check.
| InStart | – The starting point of the trace |
| InEnd | – The ending point of the trace |
| InbFindClosestIntersection | – Whether to stop at the first hit or not |
| InCollDataProvider | – The struct that provides access to mesh/primitive specific data, such as L2W, W2L, Vertices, and so on |
| InResult | – The out param for hit result information |
|
inline |
Transforms the local hit normal into a world space normal using the transpose adjoint and flips the normal if need be
|
inline |
Transforms the local hit normal into a world space normal using the transpose adjoint and flips the normal if need be
| const bool TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >::bFindClosestIntersection |
Flags for optimizing a trace
Direction of the line (not normalized, just EndSOA-StartSOA), where each component is replicated into their own vector registers.
| const FVector4 & TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >::End |
End of the line, where each component is replicated into their own vector registers.
| KDOP_IDX_TYPE TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >::HitNodeIndex |
Index into the kDOP tree's nodes of the node that was hit.
| FVector4 TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >::LocalDir |
| FVector4 TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >::LocalEnd |
| FVector4 TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >::LocalHitNormal |
| FVector4 TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >::LocalOneOverDir |
| FVector4 TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >::LocalStart |
| FkHitResult * TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >::Result |
Where the collision results get stored
| const FVector4 & TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >::Start |
| FVector3SOA TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >::StartSOA |
Start of the line, where each component is replicated into their own vector registers.