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

Represents a static mesh primitive with texture mapped static lighting. 更多...

#include <StaticMeshLight.h>

+ 类 FStaticMeshStaticLightingTextureMapping 继承关系图:

Public 成员函数

virtual void Apply (FQuantizedLightmapData *QuantizedData, const TMap< ULightComponent *, FShadowMapData2D * > &ShadowMapData, ULevel *LightingScenario) override
 Called when the static lighting has been computed to apply it to the mapping's owner. 更多...
 
 FStaticMeshStaticLightingTextureMapping (UStaticMeshComponent *InPrimitive, int32 InLODIndex, FStaticLightingMesh *InMesh, int32 InSizeX, int32 InSizeY, int32 InTextureCoordinateIndex, bool bPerformFullQualityRebuild)
 Initialization constructor.
 
virtual bool IsValidMapping () const override
 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.
 

Protected 属性

const int32 LODIndex
 The LOD this mapping represents.
 
TWeakObjectPtr< UStaticMeshComponent > Primitive
 The primitive this mapping represents.
 

额外继承的成员函数

- 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 a static mesh primitive with texture mapped static lighting.

成员函数说明

◆ Apply()

virtual void FStaticMeshStaticLightingTextureMapping::Apply ( FQuantizedLightmapData *  QuantizedData,
const TMap< ULightComponent *, FShadowMapData2D * > &  ShadowMapData,
ULevel *  LightingScenario 
)
overridevirtual

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.


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