Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FStaticLightingMesh
- FStaticLightingMesh::IntersectLightRay()
- FBSPSurfaceStaticLighting::IntersectLightRay()
- FStaticMeshStaticLightingMesh::IntersectLightRay()
- FLandscapeStaticLightingMesh::IntersectLightRay()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/StaticLighting.h |
Include | #include "StaticLighting.h" |
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. |