// Copyright (c) Wojciech Figat. All rights reserved.
#pragma once
#include "Engine/Scripting/Script.h"
#if USE_EDITOR
#include "Engine/Tools/ModelTool/ModelTool.h"
#endif
///
/// Actor script component that handled model prefabs importing and setup.
///
API_CLASS(Attributes="HideInEditor") class FLAXENGINE_API ModelPrefab : public Script
{
API_AUTO_SERIALIZATION();
DECLARE_SCRIPTING_TYPE(ModelPrefab);
#if USE_EDITOR
///
/// Source model file path (absolute or relative to the project).
///
API_FIELD(Attributes="ReadOnly, HideInEditor") String ImportPath;
///
/// Model file import settings.
///
API_FIELD() ModelTool::Options ImportOptions;
#endif
};