73522e90c9
* First pass FBX -> Scene File conversion. This is the simple pass, minimizing code changes and focused on comments. Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com> * Step 1 of part 2 of the FBX -> Scene rename Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com> * Renaming FbxSceneBuilder folder to SceneBuilder Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com> * Renamed files Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com> * More FBX -> Scene Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com>
51 lines
1.2 KiB
C++
51 lines
1.2 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
|
|
*
|
|
*/
|
|
#include <SceneAPI/SDKWrapper/SceneWrapper.h>
|
|
|
|
namespace AZ
|
|
{
|
|
namespace SDKScene
|
|
{
|
|
const char* SceneWrapperBase::s_defaultSceneName = "myScene";
|
|
|
|
SceneWrapperBase::SceneWrapperBase(aiScene* aiScene)
|
|
: m_assImpScene(aiScene)
|
|
{
|
|
}
|
|
|
|
|
|
bool SceneWrapperBase::LoadSceneFromFile([[maybe_unused]] const char* fileName)
|
|
{
|
|
return false;
|
|
}
|
|
bool SceneWrapperBase::LoadSceneFromFile([[maybe_unused]] const AZStd::string& fileName)
|
|
{
|
|
return LoadSceneFromFile(fileName.c_str());
|
|
}
|
|
|
|
const std::shared_ptr<SDKNode::NodeWrapper> SceneWrapperBase::GetRootNode() const
|
|
{
|
|
return {};
|
|
}
|
|
std::shared_ptr<SDKNode::NodeWrapper> SceneWrapperBase::GetRootNode()
|
|
{
|
|
return {};
|
|
}
|
|
|
|
void SceneWrapperBase::Clear()
|
|
{
|
|
}
|
|
|
|
const aiScene* SceneWrapperBase::GetAssImpScene() const
|
|
{
|
|
return m_assImpScene;
|
|
}
|
|
|
|
|
|
} //namespace Scene
|
|
}// namespace AZ
|