You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/PhysX/Code/Source/ComponentDescriptors.cpp

62 lines
2.5 KiB
C++

/*
* 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 "PhysX_precompiled.h"
#include <ComponentDescriptors.h>
#include <Source/SystemComponent.h>
#include <Source/RigidBodyComponent.h>
#include <Source/BaseColliderComponent.h>
#include <Source/MeshColliderComponent.h>
#include <Source/BoxColliderComponent.h>
#include <Source/SphereColliderComponent.h>
#include <Source/CapsuleColliderComponent.h>
#include <Source/ShapeColliderComponent.h>
#include <Source/ForceRegionComponent.h>
#include <Source/StaticRigidBodyComponent.h>
#include <Source/PhysXCharacters/Components/CharacterControllerComponent.h>
#include <Source/PhysXCharacters/Components/CharacterGameplayComponent.h>
#include <Source/PhysXCharacters/Components/RagdollComponent.h>
#include <Source/JointComponent.h>
#include <Source/BallJointComponent.h>
#include <Source/FixedJointComponent.h>
#include <Source/HingeJointComponent.h>
namespace PhysX
{
AZStd::list<AZ::ComponentDescriptor*> GetDescriptors()
{
AZStd::list<AZ::ComponentDescriptor*> descriptors =
{
SystemComponent::CreateDescriptor(),
RigidBodyComponent::CreateDescriptor(),
BaseColliderComponent::CreateDescriptor(),
MeshColliderComponent::CreateDescriptor(),
BoxColliderComponent::CreateDescriptor(),
SphereColliderComponent::CreateDescriptor(),
CapsuleColliderComponent::CreateDescriptor(),
ShapeColliderComponent::CreateDescriptor(),
ForceRegionComponent::CreateDescriptor(),
StaticRigidBodyComponent::CreateDescriptor(),
CharacterControllerComponent::CreateDescriptor(),
CharacterGameplayComponent::CreateDescriptor(),
RagdollComponent::CreateDescriptor(),
JointComponent::CreateDescriptor(),
BallJointComponent::CreateDescriptor(),
FixedJointComponent::CreateDescriptor(),
HingeJointComponent::CreateDescriptor()
};
return descriptors;
}
} // namespace PhysX