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

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

#include <StaticLighting.h>

+ 类 FStaticLightingTextureMapping 继承关系图:

Public 成员函数

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 属性

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.
 

详细描述

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

成员函数说明

◆ Apply()

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

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.

在 FLandscapeStaticLightingTextureMapping, FStaticMeshStaticLightingTextureMapping , 以及 FStaticLightingGlobalVolumeMapping 内被实现.

◆ GetTextureMapping()

virtual FStaticLightingTextureMapping * FStaticLightingTextureMapping::GetTextureMapping ( )
inlinevirtual
返回
If the mapping is a texture mapping, returns a pointer to this mapping as a texture mapping. Otherwise, returns NULL.

重载 FStaticLightingMapping .

◆ IsTextureMapping()

virtual bool FStaticLightingTextureMapping::IsTextureMapping ( ) const
inlinevirtual
返回
true if the mapping is a texture mapping. Otherwise, returns false.

重载 FStaticLightingMapping .


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