FDatasmithActorImporter::ImportLightActor

Spawns a light actor. The light class depends on the LightActorElement type.

Choose your operating system:

Windows

macOS

Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithActorImporter.h

Include

#include "DatasmithActorImporter.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithActorImporter.cpp

Syntax

static AActor * ImportLightActor
(
    FDatasmithImportContext & ImportContext,
    const TSharedRef< IDatasmithLightActorElement > & LightActorElement
)

Remarks

Spawns a light actor. The light class depends on the LightActorElement type.