1234567891011121314151617181920212223242526272829303132333435 |
- /*
- * 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
- *
- */
- #pragma once
- #include <AzCore/Component/ComponentBus.h>
- #include <AzCore/RTTI/RTTI.h>
- #include <AzCore/Serialization/EditContext.h>
- #include <AzFramework/Physics/Collision/CollisionGroups.h>
- namespace RecastNavigation
- {
- //! Provides configuration for @RecastNavigationPhysXProviderComponent and @EditorRecastNavigationPhysXProviderComponent.
- class RecastNavigationPhysXProviderConfig final
- : public AZ::ComponentConfig
- {
- public:
- AZ_CLASS_ALLOCATOR(RecastNavigationPhysXProviderConfig, AZ::SystemAllocator)
- AZ_RTTI(RecastNavigationPhysXProviderConfig, "{310A3F15-6212-445E-A543-FB3BD6D47768}");
- static void Reflect(AZ::ReflectContext* context);
- //! Either use Editor PhysX world or game PhysX world.
- bool m_useEditorScene = false;
- //! Only colliders from the specified collision group will be considered.
- AzPhysics::CollisionGroups::Id m_collisionGroupId;
- };
- } // namespace RecastNavigation
|