/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or the license accompanying this file. Do not * remove or modify any license notices. This file is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * */ #include namespace AZ { namespace SceneAPI { namespace Containers { Scene::Scene(const AZStd::string& name) : m_name(name) { } Scene::Scene(AZStd::string&& name) : m_name(AZStd::move(name)) { } void Scene::SetSource(const AZStd::string& filename, const Uuid& guid) { m_sourceFilename = filename; m_sourceGuid = guid; } void Scene::SetSource(AZStd::string&& filename, const Uuid& guid) { m_sourceFilename = AZStd::move(filename); m_sourceGuid = guid; } const AZStd::string& Scene::GetSourceFilename() const { return m_sourceFilename; } const Uuid& Scene::GetSourceGuid() const { return m_sourceGuid; } void Scene::SetManifestFilename(const AZStd::string& name) { m_manifestFilename = name; } void Scene::SetManifestFilename(AZStd::string&& name) { m_manifestFilename = AZStd::move(name); } const AZStd::string& Scene::GetManifestFilename() const { return m_manifestFilename; } SceneGraph& Scene::GetGraph() { return m_graph; } const SceneGraph& Scene::GetGraph() const { return m_graph; } SceneManifest& Scene::GetManifest() { return m_manifest; } const SceneManifest& Scene::GetManifest() const { return m_manifest; } const AZStd::string& Scene::GetName() const { return m_name; } void Scene::SetOriginalSceneOrientation(SceneOrientation orientation) { m_originalOrientation = orientation; } Scene::SceneOrientation Scene::GetOriginalSceneOrientation() const { return m_originalOrientation; } } // Containers } // SceneAPI } // AZ