IDatasmithShaderElement::SetLightOnly

Sets material is used as lighting only.

Windows
MacOS
Linux

References

Module

DatasmithCore

Header

/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h

Include

#include "IDatasmithSceneElements.h"

Syntax

void SetLightOnly
(
    bool Value
)

Remarks

Sets material is used as lighting only. If true the material sets the lighting mode to Unlit, regular lighting mode otherwise.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss