Skip to content

SetPrimitiveLightingSettings

ALiSplatActor · API参考

设置代理 Primitive 的 UE 光照属性。

cpp
void SetPrimitiveLightingSettings(
    const FLiSplatPrimitiveLightingSettings& InSettings);

设置会应用到法线代理和阴影代理。

C++ 示例

cpp
auto Settings = SplatActor->GetPrimitiveLightingSettings();
Settings.bAffectDynamicIndirectLighting = true;
SplatActor->SetPrimitiveLightingSettings(Settings);

蓝图示例

Set Primitive Lighting Settings 蓝图示例

另请参阅

返回 ALiSplatActor

LiSplat Unreal SDK 产品文档中心