be5a7f821c
* {LYN-4514} Re-factored Blast gem's python asset builder
* Re-factored Blast gem's python asset builder so that the .blast file creates an asset info scene manifest
* Added a python script to act as a SceneAPI script + Python Asset Builder (blast_asset_builder.py)
* renaming types from "Slice" to "Chunk"
Tests: Re-enabled Gems/Blast/Code/Tests/Editor/EditorBlastSliceAssetHandlerTest.cpp
Signed-off-by: Jackson <23512001+jackalbe@users.noreply.github.com>
* renaming from Slice to Chunks
Signed-off-by: Jackson <23512001+jackalbe@users.noreply.github.com>
* updated the Copyright
Signed-off-by: Jackson <23512001+jackalbe@users.noreply.github.com>
* Removing StdAfx.h includes
Signed-off-by: Jackson <23512001+jackalbe@users.noreply.github.com>
* null check added m_blastChunksAsset.Get()
removing 'slice' like EditorBlastSliceAssetHandlerTestFixture
delete old asset builder blast file
Signed-off-by: Jackson <23512001+jackalbe@users.noreply.github.com>
* adding source deps for FBX -> BLAST file
Signed-off-by: Jackson <23512001+jackalbe@users.noreply.github.com>
* removing slice name
Signed-off-by: Jackson <23512001+jackalbe@users.noreply.github.com>
* Adding error message and updates from PR
Signed-off-by: Jackson <23512001+jackalbe@users.noreply.github.com>
52 lines
1.5 KiB
C++
52 lines
1.5 KiB
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project.
|
|
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AzCore/Component/Component.h>
|
|
#include <AzCore/Component/TickBus.h>
|
|
#include <AzToolsFramework/Entity/EditorEntityContextBus.h>
|
|
#include <Editor/EditorBlastChunksAssetHandler.h>
|
|
|
|
namespace Blast
|
|
{
|
|
///
|
|
/// System component for Blast editor
|
|
///
|
|
class EditorSystemComponent
|
|
: public AZ::Component
|
|
, private AzToolsFramework::EditorEvents::Bus::Handler
|
|
{
|
|
public:
|
|
AZ_COMPONENT(EditorSystemComponent, "{D29CF1A3-5E2C-4385-8541-F7CE78D5FFF8}");
|
|
static void Reflect(AZ::ReflectContext* context);
|
|
|
|
EditorSystemComponent() = default;
|
|
|
|
private:
|
|
static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided)
|
|
{
|
|
provided.push_back(AZ_CRC("BlastEditorService", 0x0a61cda5));
|
|
}
|
|
|
|
static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required)
|
|
{
|
|
required.push_back(AZ_CRC("BlastService", 0x75beae2d));
|
|
}
|
|
|
|
AZStd::unique_ptr<EditorBlastChunksAssetHandler> m_editorBlastChunksAssetHandler;
|
|
|
|
// AZ::Component
|
|
void Activate() override;
|
|
void Deactivate() override;
|
|
|
|
// AzToolsFramework::EditorEvents
|
|
void NotifyRegisterViews() override;
|
|
};
|
|
} // namespace Blast
|