FLandscapeStaticLightingMesh

Represents the triangles of a Landscape component to the static lighting system.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FRefCountedObject

FStaticLightingMesh

FLandscapeStaticLightingMesh

References

Module

Landscape

Header

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

Include

#include "LandscapeLight.h"

Syntax

class FLandscapeStaticLightingMesh : public FStaticLightingMesh

Remarks

Represents the triangles of a Landscape component to the static lighting system.

Variables

Name Description

Protected variable

bool

 

bReverseWinding

Protected variable

int32

 

ComponentSizeQuads

Protected variable

int32

 

ExpandQuadsX

Protected variable

int32

 

ExpandQuadsY

Protected variable

TArray< FColor ...

 

HeightData

Protected variable

ULandscapeCompo...

 

LandscapeComponent

Protected variable

float

 

LightMapRatio

Protected variable

FTransform

 

LocalToWorld

FLandscapeStaticLightingMeshData.

Protected variable

int32

 

NumQuads

Protected variable

int32

 

NumVertices

Cache.

Protected variable

float

 

UVFactor

Constructors

Name Description

Public function

FLandscapeStaticLightingMesh

(
    ULandscapeComponent* InCompone...,
    const TArray< ULightComponent*...,
    int32 InExpandQuadsX,
    int32 InExpandQuadsY,
    float LightMapRatio,
    int32 InLOD
)

Tors

Destructors

Functions

Name Description

Protected function

void

 

GetHeightmapData

(
    int32 InLOD,
    int32 GeometryLOD
)

Protected function Const

void

 

GetStaticLightingVertex

(
    int32 VertexIndex,
    FStaticLightingVertex& OutVertex
)

Fills in the static lighting vertex data for the Landscape vertex.

Overridden from FStaticLightingMesh

Name Description

Public function Virtual Const

void

 

ExportMeshInstance

(
    FLightmassExporter* Exporter
)

Export static lighting mesh instance data to an exporter

Public function Virtual Const

void

 

GetTriangle

(
    int32 TriangleIndex,
    FStaticLightingVertex& OutV0,
    FStaticLightingVertex& OutV1,
    FStaticLightingVertex& OutV2
)

Accesses a triangle.

Public function Virtual Const

void

 

GetTriangleIndices

(
    int32 TriangleIndex,
    int32& OutI0,
    int32& OutI1,
    int32& OutI2
)

Accesses a triangle.

Public function Virtual Const

FLightRayInt...

 

IntersectLightRay

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

Checks if a line segment intersects the mesh.

Constants

Name

Description

LandscapeUpscaleHeightDataCache

Cache data for Landscape upscaling data.

LandscapeUpscaleXYOffsetDataCache