Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/TkDOPLineCollisionCheck > API/Runtime/Engine/TkDOPLineCollisionCheck/__ctor
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Private/kDOP.h |
| Include | #include "kDOP.h" |
TkDOPLineCollisionCheck
&40;
const FVector4 & InStart,
const FVector4 & InEnd,
bool bInbFindClosestIntersection,
const COLL_DATA_PROVIDER & InCollDataProvider,
FkHitResult &42; InResult
&41;
Remarks
Sets up the FkDOPLineCollisionCheck structure for performing line checks against a kDOPTree. Initializes all of the variables that are used throughout the line check.
Parameters
| Name | Description |
|---|---|
| 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 |