FStaticLightingMesh::IntersectLightRay

Checks if a line segment intersects the mesh.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/StaticLighting.h

Include

#include "StaticLighting.h"

Syntax

FLightRayIntersection IntersectLightRay
(
    const FVector & Start,
    const FVector & End,
    bool bFindNearestIntersection
) const

Remarks

Checks if a line segment intersects the mesh.

Returns

The intersection of the light-ray with the mesh.

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss