RecastNavigationPhysXProviderConfig.cpp 857 B

12345678910111213141516171819202122232425
  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 <Misc/RecastNavigationPhysXProviderConfig.h>
  9. namespace RecastNavigation
  10. {
  11. void RecastNavigationPhysXProviderConfig::Reflect(AZ::ReflectContext* context)
  12. {
  13. if (auto serializeContext = azrtti_cast<AZ::SerializeContext*>(context))
  14. {
  15. serializeContext->Class<RecastNavigationPhysXProviderConfig>()
  16. ->Version(2)
  17. ->Field("Use Editor Scene", &RecastNavigationPhysXProviderConfig::m_useEditorScene)
  18. ->Field("Collision Group", &RecastNavigationPhysXProviderConfig::m_collisionGroupId)
  19. ;
  20. }
  21. }
  22. } // namespace RecastNavigation