IDatasmithShaderElement::SetLightOnly

Sets material is used as lighting only.

Choose your operating system:

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.