FLightMapInteraction

Make sure at least one is defined Information about an interaction between a light and a mesh.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneManagement.h

Include

#include "SceneManagement.h"

Syntax

class FLightMapInteraction

Remarks

Make sure at least one is defined Information about an interaction between a light and a mesh.

Constructors

Name Description

Public function

FLightMapInteraction()

Default constructor.

Functions

Name Description

Public function Const

bool

 

AllowsHighQualityLightmaps()

Public function Const

const FVector4 *

 

GetAddArray()

Public function Const

const ULightMapTexture2D *

 

GetAOMaterialMaskTexture()

Public function Const

const FVector2D &

 

GetCoordinateBias()

Public function Const

const FVector2D &

 

GetCoordinateScale()

Public function Const

uint32

 

GetNumLightmapCoefficients()

Public function Const

const FVector4 *

 

GetScaleArray()

Public function Const

const ULightMapTexture2D *

 

GetSkyOcclusionTexture()

Public function Const

const ULightMapTexture2D *

 

GetTexture

(
    bool bHighQuality
)

Public function Const

ELightMapInteractionType

 

GetType()

Accessors.

Public function Const

const ULightMapVirtualTexture2D *

 

GetVirtualTexture()

Public function Static

FLightMapInteraction

 

GlobalVolume()

Public function Static

FLightMapInteraction

 

InitVirtualTexture

(
    const ULightMapVirtualTexture2D* VirtualTexture,
    const FVector4* InCoefficientScales,
    const FVector4* InCoefficientAdds,
    const FVector2D& InCoordinateScale,
    const FVector2D& InCoordinateBias,
    bool bAllowHighQualityLightMaps
)

Public function Static

FLightMapInteraction

 

None()

Factory functions.

Public function

void

 

SetCoordinateBias

(
    const FVector2D& InCoordinateBias
)

Set the coordinate bias.

Public function

void

 

SetCoordinateScale

(
    const FVector2D& InCoordinateScale
)

Set the coordinate scale.

Public function

void

 

SetLightMapInteractionType

(
    ELightMapInteractionType InType
)

These functions are used for the Dummy lightmap policy used in LightMap density view mode.

Public function Static

FLightMapInteraction

 

Texture

(
    const ULightMapTexture2D*const* InTextures,
    const ULightMapTexture2D* InSkyOcclusionTexture,
    const ULightMapTexture2D* InAOMaterialMaskTexture,
    const FVector4* InCoefficientScales,
    const FVector4* InCoefficientAdds,
    const FVector2D& InCoordinateScale,
    const FVector2D& InCoordinateBias,
    bool bAllowHighQualityLightMaps
)

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