FLandscapeStaticLightingMesh::IntersectLightRay

Checks if a line segment intersects the mesh.

Windows
MacOS
Linux

Override Hierarchy

FStaticLightingMesh::IntersectLightRay()

FLandscapeStaticLightingMesh::IntersectLightRay()

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Public/LandscapeLight.h

Include

#include "LandscapeLight.h"

Source

/Engine/Source/Runtime/Landscape/Private/LandscapeLight.cpp

Syntax

virtual 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