unreal.LightmapType
¶
- class unreal.LightmapType¶
Bases:
unreal.EnumBase
Type of lightmap that is used for primitive components
C++ Source:
Module: Engine
File: EngineTypes.h
- DEFAULT¶
Surface Lightmap for Static components, Volumetric Lightmap for Movable components.
- Type
0
- Type
Use the default based on Mobility
- FORCE_SURFACE¶
Force Surface Lightmap, even if the component moves, which should otherwise change the lighting. This is only supported on components which support surface lightmaps, like static meshes.
- Type
1
- FORCE_VOLUMETRIC¶
Force Volumetric Lightmaps, even if the component is static and could have supported surface lightmaps. Volumetric Lightmaps have better directionality and no Lightmap UV seams, but are much lower resolution than Surface Lightmaps and frequently have self-occlusion and leaking problems. Note: Lightmass currently requires valid lightmap UVs and sufficient lightmap resolution to compute bounce lighting, even though the Volumetric Lightmap will be used at runtime.
- Type
2