Open 3D Engine PhysX Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
PhysX::EditorMeshColliderComponent Class Reference

Editor PhysX Mesh Collider Component. More...

#include <EditorMeshColliderComponent.h>

Inherits AzToolsFramework::Components::EditorComponentBase, AzToolsFramework::EditorComponentSelectionRequestsBus::Handler, PhysX::DebugDraw::DisplayCallback, AzToolsFramework::EntitySelectionEvents::Bus::Handler, AZ::Data::AssetBus::Handler, PhysX::MeshColliderComponentRequestsBus::Handler, AZ::TransformNotificationBus::Handler, PhysX::ColliderShapeRequestBus::Handler, AZ::Render::MeshComponentNotificationBus::Handler, PhysX::EditorColliderComponentRequestBus::Handler, PhysX::EditorMeshColliderComponentRequestBus::Handler, PhysX::EditorMeshColliderValidationRequestBus::Handler, AzPhysics::SimulatedBodyComponentRequestsBus::Handler, and AzFramework::BoundsRequestBus::Handler.

Public Member Functions

 AZ_RTTI (EditorMeshColliderComponent, "{20382794-0E74-4860-9C35-A19F22DC80D4}", AzToolsFramework::Components::EditorComponentBase)
 
 AZ_EDITOR_COMPONENT_INTRUSIVE_DESCRIPTOR_TYPE (EditorMeshColliderComponent)
 
 AZ_CLASS_ALLOCATOR (EditorMeshColliderComponent, AZ::SystemAllocator)
 
 EditorMeshColliderComponent (const Physics::ColliderConfiguration &colliderConfiguration, const EditorProxyAssetShapeConfig &proxyAssetShapeConfig, bool debugDrawDisplayFlagEnabled=true)
 
 EditorMeshColliderComponent (const Physics::ColliderConfiguration &colliderConfiguration, const Physics::PhysicsAssetShapeConfiguration &assetShapeConfig)
 
const EditorProxyAssetShapeConfigGetShapeConfiguration () const
 
const Physics::ColliderConfiguration & GetColliderConfiguration () const
 
Physics::ColliderConfiguration GetColliderConfigurationScaled () const
 
Physics::ColliderConfiguration GetColliderConfigurationNoOffset () const
 
bool IsDebugDrawDisplayFlagEnabled () const
 
AZ::Aabb GetWorldBounds () const override
 
AZ::Aabb GetLocalBounds () const override
 
AZ::Aabb GetEditorSelectionBoundsViewport (const AzFramework::ViewportInfo &viewportInfo) override
 
bool EditorSelectionIntersectRayViewport (const AzFramework::ViewportInfo &viewportInfo, const AZ::Vector3 &src, const AZ::Vector3 &dir, float &distance) override
 
bool SupportsEditorRayIntersect () override
 
void BuildGameEntity (AZ::Entity *gameEntity) override
 

Static Public Member Functions

static AZ::ComponentDescriptor * CreateDescriptor ()
 
static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 
static void GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent)
 

Friends

class EditorMeshColliderComponentDescriptor
 

Additional Inherited Members

Detailed Description

Editor PhysX Mesh Collider Component.


The documentation for this class was generated from the following file: