FBSPSurfaceStaticLighting

Represents a BSP surface to the static lighting system.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "ModelLight.h"

Syntax

class FBSPSurfaceStaticLighting :
    public FStaticLightingTextureMapping,
    public FStaticLightingMesh

Remarks

Represents a BSP surface to the static lighting system.

Variables

Name Description

Public variable

bool

 

bComplete

True if the surface has complete static lighting.

Public variable

FIntRect

 

MappedRect

Minimum rectangle that encompasses all mapped texels.

Public variable

const FNodeGrou...

 

NodeGroup

The surface's static lighting node group mapping info.

Public variable

FQuantizedLight...

 

QuantizedData

Quantized light map data

Public variable

TMap< ULightCom...

 

ShadowMapData

Constructors

Name Description

Public function

FBSPSurfaceStaticLighting

(
    const FNodeGroup* InNodeGroup,
    UModel* Model,
    UModelComponent* Component
)

Initialization constructor.

Functions

Name Description

Public function Const

const UModel...

 

GetModel()

Overridden from FStaticLightingTextureMapping

Name Description

Public function Virtual

void

 

Apply

(
    FQuantizedLightmapData* Quanti...,
    const TMap< ULightComponent*, ...,
    ULevel* LightingScenario
)

Called when the static lighting has been computed to apply it to the mapping's owner.

Public function Virtual Const

bool

 

IsValidMapping()

Whether or not this mapping should be processed or imported

Overridden from FStaticLightingMapping

Name Description

Public function Virtual Const

bool

 

DebugThisMapping()

Public function Virtual

void

 

ExportMapping

(
    FLightmassExporter* Exporter
)

Export static lighting mapping instance data to an exporter

Public function Virtual Const

FString

 

GetDescription()

Public function Virtual Const

UObject *...

 

GetMappedObject()

Overridden from FStaticLightingMesh

Name Description

Public function Virtual Const

const FGuid ...

 

GetLightingGuid()

Returns the Guid used for static lighting.

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's vertex indices.

Public function Virtual Const

FLightRayInt...

 

IntersectLightRay

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

Checks if a line segment intersects the mesh.

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