Open 3D Engine AtomLyIntegration 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.
|
#include <MeshComponentBus.h>
Inherits AZ::ComponentBus.
Classes | |
struct | ConnectionPolicy |
Public Types | |
using | MutexType = AZStd::recursive_mutex |
Public Member Functions | |
virtual void | OnModelReady (const Data::Asset< RPI::ModelAsset > &modelAsset, const Data::Instance< RPI::Model > &model)=0 |
virtual void | OnModelPreDestroy () |
Notifies listeners when the instance of the model for this component is about to be released. | |
virtual void | OnObjectSrgCreated (const Data::Instance< RPI::ShaderResourceGroup > &) |
Notifies listeners when a new ObjectSrg was created (this is where you'd like to update your custom ObjectSrg) | |
MeshComponent can send out notifications on the MeshComponentNotificationBus
|
pure virtual |
Notifies listeners when a model has been loaded. If the model is already loaded when first connecting to the MeshComponentNotificationBus, the OnModelReady event will occur when connecting.