Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- TkDOPCollisionCheck
- TkDOPCollisionCheck
- TkDOPLineCollisionCheck
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/kDOP.h |
| Include | #include "kDOP.h" |
Syntax
template<typename COLL_DATA_PROVIDER, typename KDOP_IDX_TYPE>
struct TkDOPLineCollisionCheck :
public TkDOPCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >,
public TkDOPCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE >
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const bool | bFindClosestIntersection | Flags for optimizing a trace | |
| FVector3SOA | DirSOA | Direction of the line (not normalized, just EndSOA-StartSOA), where each component is replicated into their own vector registers. | |
| const FVector4 & | End | ||
| FVector3SOA | EndSOA | End of the line, where each component is replicated into their own vector registers. | |
| KDOP_IDX_TYPE | HitNodeIndex | Index into the kDOP tree's nodes of the node that was hit. | |
| FVector4 | LocalDir | ||
| FVector4 | LocalEnd | ||
| FVector4 | LocalHitNormal | Normal in local space which gets transformed to world at the very end. | |
| FVector4 | LocalOneOverDir | ||
| FVector4 | LocalStart | Locally calculated vectors. | |
| FkHitResult * | Result | Where the collision results get stored | |
| const FVector4 & | Start | Constant input vars. | |
| FVector3SOA | StartSOA | Start of the line, where each component is replicated into their own vector registers. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TkDOPLineCollisionCheck
(
const FVector4& InStart, |
Sets up the FkDOPLineCollisionCheck structure for performing line checks against a kDOPTree. | ||
TkDOPLineCollisionCheck
(
const FVector4& InStart, |
Sets up the FkDOPLineCollisionCheck structure for performing line checks against a kDOPTree. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector4 | GetHitNormal () |
Transforms the local hit normal into a world space normal using the transpose adjoint and flips the normal if need be | |
| FVector4 | GetHitNormal () |
Transforms the local hit normal into a world space normal using the transpose adjoint and flips the normal if need be |