Open 3D Engine AzFramework 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.
Physics::RigidBodyNotifications Class Reference

Notifications interface for a rigid body (static or dynamic). More...

#include <RigidBodyBus.h>

Inherits AZ::ComponentBus.

Public Types

template<class Bus >
using ConnectionPolicy = RigidBodyNotificationsConnectionPolicy< Bus >
 

Public Member Functions

virtual void OnPhysicsEnabled ([[maybe_unused]] const AZ::EntityId &entityId)
 
virtual void OnPhysicsDisabled ([[maybe_unused]] const AZ::EntityId &entityId)
 

Detailed Description

Notifications interface for a rigid body (static or dynamic).

Member Typedef Documentation

◆ ConnectionPolicy

template<class Bus >
using Physics::RigidBodyNotifications::ConnectionPolicy = RigidBodyNotificationsConnectionPolicy<Bus>

With this connection policy, RigidBodyNotifications::OnPhysicsEnabled and RigidBodyNotifications::OnPhysicsDisabled events will be immediately dispatched when a handler connects to the bus.


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