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 <AzToolsFramework/ToolsComponents/EditorComponentBase.h>
- namespace PhysX
- {
- //! Class for in-editor PhysX Static Rigid Body Component.
- class EditorStaticRigidBodyComponent : public AzToolsFramework::Components::EditorComponentBase
- {
- public:
- AZ_EDITOR_COMPONENT(
- EditorStaticRigidBodyComponent, "{DA884366-E00D-496B-A9C3-9CBF08B3537E}", AzToolsFramework::Components::EditorComponentBase);
- static void Reflect(AZ::ReflectContext* context);
- EditorStaticRigidBodyComponent() = default;
- ~EditorStaticRigidBodyComponent() = default;
- static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
- static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
- static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
- static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
- // EditorComponentBase
- void BuildGameEntity(AZ::Entity* gameEntity) override;
- };
- } // namespace PhysX
|