FStaticMeshStaticLightingTextureMapping

Represents a static mesh primitive with texture mapped static lighting.

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

class FStaticMeshStaticLightingTextureMapping : public FStaticLightingTextureMapping

Remarks

Represents a static mesh primitive with texture mapped static lighting.

Variables

Name Description

Protected variable

const int32

 

LODIndex

The LOD this mapping represents.

Protected variable

TWeakObjectPtr<...

 

Primitive

The primitive this mapping represents.

Constructors

Name Description

Public function

FStaticMeshStaticLightingTextureMapping

(
    UStaticMeshComponent* InPrimit...,
    int32 InLODIndex,
    FStaticLightingMesh* InMesh,
    int32 InSizeX,
    int32 InSizeY,
    int32 InTextureCoordinateIndex,
    bool bPerformFullQualityRebuild
)

Initialization constructor.

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

void

 

ExportMapping

(
    FLightmassExporter* Exporter
)

Export static lighting mapping instance data to an exporter

Public function Virtual Const

FString

 

GetDescription()

References

Module

Engine

Header

Runtime/Engine/Public/StaticMeshLight.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