| TkDOPCollisionCheck | ||
| TkDOPCollisionCheck
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/kDOP.h |
Include |
#include "kDOP.h" |
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 >
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.
Name | Description | ||
---|---|---|---|
|
const bool |
bFindClosestIntersection |
Flags for optimizing a trace |
|
DirSOA |
Direction of the line (not normalized, just EndSOA-StartSOA), where each component is replicated into their own vector registers. |
|
|
const FVector4 ... |
End |
|
|
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. |
|
LocalDir |
||
|
LocalEnd |
||
|
LocalHitNormal |
Normal in local space which gets transformed to world at the very end. |
|
|
LocalOneOverDir |
||
|
LocalStart |
Locally calculated vectors. |
|
|
FkHitResult ... |
Result |
Where the collision results get stored |
|
const FVector4 ... |
Start |
Constant input vars. |
|
StartSOA |
Start of the line, where each component is replicated into their own vector registers. |
Name | Description | |
---|---|---|
|
TkDOPLineCollisionCheck ( |
Sets up the FkDOPLineCollisionCheck structure for performing line checks against a kDOPTree. |
|
TkDOPLineCollisionCheck ( |
Sets up the FkDOPLineCollisionCheck structure for performing line checks against a kDOPTree. |
Name | Description | ||
---|---|---|---|
|
GetHitNormal() |
Transforms the local hit normal into a world space normal using the transpose adjoint and flips the normal if need be |
|
|
GetHitNormal() |
Transforms the local hit normal into a world space normal using the transpose adjoint and flips the normal if need be |