Navigation
API > API/Runtime > API/Runtime/Engine
A mapping between world-space surfaces and static lighting cache textures.
| Name | FStaticLightingTextureMapping |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/StaticLighting.h |
| Include Path | #include "StaticLighting.h" |
Syntax
class FStaticLightingTextureMapping : public FStaticLightingMapping
Inheritance Hierarchy
- FRefCountedObject → FStaticLightingMapping → FStaticLightingTextureMapping
Derived Classes
- FBSPSurfaceStaticLighting
- FLandscapeStaticLightingTextureMapping
- FStaticLightingGlobalVolumeMapping
- FStaticMeshStaticLightingTextureMapping
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStaticLightingTextureMapping
(
const FArchive& Ar |
Default constructor used by serializer | StaticLighting.h | |
FStaticLightingTextureMapping
(
FStaticLightingMesh* InMesh, |
Initialization constructor. | StaticLighting.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bBilinearFilter | bool | Whether to apply a bilinear filter to the sample or not. | StaticLighting.h | |
| LightmapTextureCoordinateIndex | int32 | The lightmap texture coordinate index which is used for the mapping. | StaticLighting.h | |
| SizeX | int32 | The width of the static lighting textures used by the mapping. | StaticLighting.h | |
| SizeY | int32 | The height of the static lighting textures used by the mapping. | StaticLighting.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Apply
(
FQuantizedLightmapData* QuantizedData, |
Called when the static lighting has been computed to apply it to the mapping's owner. | StaticLighting.h | |
virtual bool IsValidMapping() |
Whether or not this mapping should be processed or imported | StaticLighting.h |
Overridden from FStaticLightingMapping
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool DebugThisMapping() |
StaticLighting.h | ||
virtual FString GetDescription() |
StaticLighting.h | ||
virtual int32 GetTexelCount() |
StaticLighting.h | ||
virtual FStaticLightingTextureMapping * GetTextureMapping() |
StaticLighting.h | ||
virtual bool IsTextureMapping() |
StaticLighting.h | ||
virtual void Serialize
(
FArchive& Ar |
StaticLighting.h |