导出 PDF

所选内容将按目录顺序合并下载。已选文档之间可在 PDF 内跳转,未选文档链接将打开在线页面。

跳转到正文

SetLiSplatLightingChannels ​

ALiSplatActor · API参考

设置 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);

蓝图示例 ​

Set Li Splat Lighting Channels 蓝图示例

另请参阅 ​

返回 ALiSplatActor

LiSplat Unreal SDK 产品文档中心