Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FStaticMeshStaticLightingMesh
- FStaticLightingMesh::IntersectLightRay()
- FStaticMeshStaticLightingMesh::IntersectLightRay()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/StaticMeshLight.h |
| Include | #include "StaticMeshLight.h" |
| Source | /Engine/Source/Runtime/Engine/Private/StaticMeshLight.cpp |
virtual FLightRayIntersection IntersectLightRay
&40;
const FVector & Start,
const FVector & End,
bool bFindNearestIntersection
&41; const
Remarks
Checks if a line segment intersects the mesh. The intersection of the light-ray with the mesh.
Parameters
| Name | Description |
|---|---|
| Start | The start point of the line segment. |
| End | The end point of the line segment. |
| bFindNearestIntersection | Whether the nearest intersection is needed, or any intersection. |