engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FStaticLightingGlobalVolumeMapping类 参考

Represents an object which will use the global volumetric lightmap. 更多...

#include <StaticLighting.h>

+ 类 FStaticLightingGlobalVolumeMapping 继承关系图:

Public 成员函数

virtual void Apply (struct FQuantizedLightmapData *QuantizedData, const TMap< ULightComponent *, class FShadowMapData2D * > &ShadowMapData, ULevel *LightingScenario) override
 Called when the static lighting has been computed to apply it to the mapping's owner. 更多...
 
ENGINE_API FStaticLightingGlobalVolumeMapping (FStaticLightingMesh *InMesh, UObject *InOwner, int32 InSizeX, int32 InSizeY, int32 InLightmapTextureCoordinateIndex)
 Initialization constructor.
 
virtual bool IsValidMapping () const
 Whether or not this mapping should be processed or imported
 
- Public 成员函数 继承自 FStaticLightingTextureMapping
virtual void Apply (struct FQuantizedLightmapData *QuantizedData, const TMap< ULightComponent *, class FShadowMapData2D * > &ShadowMapData, ULevel *LightingScenario)=0
 Called when the static lighting has been computed to apply it to the mapping's owner. 更多...
 
ENGINE_API FStaticLightingTextureMapping (FStaticLightingMesh *InMesh, UObject *InOwner, int32 InSizeX, int32 InSizeY, int32 InLightmapTextureCoordinateIndex, bool bInBilinearFilter=true)
 Initialization constructor.
 
virtual FStaticLightingTextureMapping * GetTextureMapping ()
 
virtual bool IsTextureMapping () const
 
virtual bool IsValidMapping () const
 Whether or not this mapping should be processed or imported
 
- Public 成员函数 继承自 FStaticLightingMapping
 FStaticLightingMapping (FStaticLightingMesh *InMesh, UObject *InOwner)
 Initialization constructor.
 
virtual const FGuid & GetLightingGuid () const
 Returns the Guid used for static lighting. 更多...
 
virtual FStaticLightingTextureMapping * GetTextureMapping ()
 
virtual bool IsTextureMapping () const
 
virtual ~FStaticLightingMapping ()
 Virtual destructor.
 

额外继承的成员函数

- Public 属性 继承自 FStaticLightingTextureMapping
const bool bBilinearFilter
 Whether to apply a bilinear filter to the sample or not.
 
const int32 LightmapTextureCoordinateIndex
 The lightmap texture coordinate index which is used for the mapping.
 
const int32 SizeX
 The width of the static lighting textures used by the mapping.
 
const int32 SizeY
 The height of the static lighting textures used by the mapping.
 
- Public 属性 继承自 FStaticLightingMapping
uint32 bProcessMapping: 1
 true if the mapping should be processed by Lightmass.
 
class FStaticLightingMesh * Mesh
 The mesh associated with the mapping.
 
UObject *const Owner
 The object which owns the mapping.
 

详细描述

Represents an object which will use the global volumetric lightmap.

Hack: currently represented as a texture mapping for Lightmass GI solver surface caching

成员函数说明

◆ Apply()

virtual void FStaticLightingGlobalVolumeMapping::Apply ( struct FQuantizedLightmapData *  QuantizedData,
const TMap< ULightComponent *, class FShadowMapData2D * > &  ShadowMapData,
ULevel *  LightingScenario 
)
inlineoverridevirtual

Called when the static lighting has been computed to apply it to the mapping's owner.

This function is responsible for deleting ShadowMapData and QuantizedData.

参数
LightMapData- The light-map data which has been computed for the mapping.

实现了 FStaticLightingTextureMapping.


该类的文档由以下文件生成: