27 lines
608 B
C
27 lines
608 B
C
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "CoreMinimal.h"
|
||
|
|
#include "UObject/ObjectMacros.h"
|
||
|
|
#include "Factory.h"
|
||
|
|
#include "SceneImportFactory.generated.h"
|
||
|
|
|
||
|
|
/*
|
||
|
|
* Base class for all factories that import objects into a scene (e.g in a level)
|
||
|
|
*/
|
||
|
|
UCLASS(abstract, MinimalAPI)
|
||
|
|
class USceneImportFactory: public UFactory
|
||
|
|
{
|
||
|
|
GENERATED_BODY()
|
||
|
|
|
||
|
|
public:
|
||
|
|
/**
|
||
|
|
* @returns whether or not this scene importer can also create assets and thus must ask the user where they want to place content
|
||
|
|
*/
|
||
|
|
virtual bool ImportsAssets() const
|
||
|
|
{
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
};
|