FStaticLightingTextureMapping

A mapping between world-space surfaces and static lighting cache textures.

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

class FStaticLightingTextureMapping : public FStaticLightingMapping

Remarks

A mapping between world-space surfaces and static lighting cache textures.

Variables

Name Description

Public variable

const bool

 

bBilinearFilter

Whether to apply a bilinear filter to the sample or not.

Public variable

const int32

 

LightmapTextureCoordinateIndex

The lightmap texture coordinate index which is used for the mapping.

Public variable

const int32

 

SizeX

The width of the static lighting textures used by the mapping.

Public variable

const int32

 

SizeY

The height of the static lighting textures used by the mapping.

Constructors

Name Description

Public function

FStaticLightingTextureMapping

(
    FStaticLightingMesh* InMesh,
    UObject* InOwner,
    int32 InSizeX,
    int32 InSizeY,
    int32 InLightmapTextureCoordinateIn...,
    bool bInBilinearFilter
)

Initialization constructor.

Functions

Name Description

Public function

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

References

Module

Engine

Header

Runtime/Engine/Public/StaticLighting.h

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