SetLiSplatLightingChannels
设置 Actor 代理和所有 Chunk 的 UE 灯光通道。
cpp
void SetLiSplatLightingChannels(
const FLightingChannels& InChannels);只有与对象通道匹配的灯光才会影响其 Lit 渲染。
C++ 示例
cpp
FLightingChannels Channels;
Channels.bChannel0 = true;
Channels.bChannel1 = false;
Channels.bChannel2 = false;
SplatActor->SetLiSplatLightingChannels(Channels);蓝图示例

另请参阅
- SetLightMode:启用或关闭场景光照影响。
- SetPrimitiveLightingSettings:配置代理的其他 UE 光照属性。