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>
54 lines
1.1 KiB
C++
54 lines
1.1 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/NodeWrapper.h>
|
|
|
|
namespace AZ
|
|
{
|
|
namespace SDKNode
|
|
{
|
|
NodeWrapper::NodeWrapper(aiNode* aiNode)
|
|
: m_assImpNode(aiNode)
|
|
{
|
|
}
|
|
|
|
NodeWrapper::~NodeWrapper()
|
|
{
|
|
m_assImpNode = nullptr;
|
|
}
|
|
|
|
aiNode* NodeWrapper::GetAssImpNode()
|
|
{
|
|
return m_assImpNode;
|
|
}
|
|
|
|
const char* NodeWrapper::GetName() const
|
|
{
|
|
return "";
|
|
}
|
|
AZ::u64 NodeWrapper::GetUniqueId() const
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int NodeWrapper::GetMaterialCount() const
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
int NodeWrapper::GetChildCount()const
|
|
{
|
|
return -1;
|
|
}
|
|
const std::shared_ptr<NodeWrapper> NodeWrapper::GetChild([[maybe_unused]] int childIndex) const
|
|
{
|
|
return {};
|
|
}
|
|
|
|
}// namespace Node
|
|
}//namespace AZ
|