GenerateEventContext.cpp 846 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include <SceneAPI/SceneCore/Events/GenerateEventContext.h>
  9. namespace AZ::SceneAPI::Events
  10. {
  11. /////////////
  12. // PreGenerateEventContext
  13. /////////////
  14. GenerateEventBaseContext::GenerateEventBaseContext(Containers::Scene& scene, const char* platformIdentifier)
  15. : m_scene(scene)
  16. , m_platformIdentifier(platformIdentifier)
  17. {
  18. }
  19. Containers::Scene& GenerateEventBaseContext::GetScene() const
  20. {
  21. return m_scene;
  22. }
  23. const char* GenerateEventBaseContext::GetPlatformIdentifier() const
  24. {
  25. return m_platformIdentifier;
  26. }
  27. } // namespace AZ::SceneAPI::Events