SetPrimitiveLightingSettings
设置代理 Primitive 的 UE 光照属性。
cpp
void SetPrimitiveLightingSettings(
const FLiSplatPrimitiveLightingSettings& InSettings);设置会应用到法线代理和阴影代理。
C++ 示例
cpp
auto Settings = SplatActor->GetPrimitiveLightingSettings();
Settings.bAffectDynamicIndirectLighting = true;
SplatActor->SetPrimitiveLightingSettings(Settings);蓝图示例

另请参阅
- GetPrimitiveLightingSettings:读取当前设置。
- SetLiSplatLightingChannels:选择代理响应的灯光通道。
- FLiSplatPrimitiveLightingSettings:字段说明。