Navigation
API > API/Runtime > API/Runtime/DatasmithCore > API/Runtime/DatasmithCore/IDatasmithShaderElement
Description
Sets material is used as lighting only. If true the material sets the lighting mode to Unlit, regular lighting mode otherwise.
| Name | SetLightOnly |
| Type | function |
| Header File | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
| Include Path | #include "IDatasmithSceneElements.h" |
void SetLightOnly
(
bool Value
)