FBSPSurfaceStaticLighting::IntersectLightRay

Checks if a line segment intersects the mesh.

Windows
MacOS
Linux

Override Hierarchy

FStaticLightingMesh::IntersectLightRay()

FBSPSurfaceStaticLighting::IntersectLightRay()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ModelLight.h

Include

#include "ModelLight.h"

Source

/Engine/Source/Runtime/Engine/Private/ModelLight.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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback