FStaticLightingTextureMapping

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

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/StaticLighting.h

Include

#include "StaticLighting.h"

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

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