Registering an empty atom render plugin in the emfxatom gem.

Signed-off-by: rhhong <rhhong@amazon.com>
This commit is contained in:
rhhong
2021-08-30 17:57:45 -07:00
parent a96b091d3f
commit f2b449c4b9
16 changed files with 173 additions and 78 deletions
@@ -11,6 +11,9 @@
#include <AzCore/Memory/SystemAllocator.h>
#include <AzCore/RTTI/RTTI.h>
#include <AzCore/Module/Module.h>
#ifdef EMOTIONFXATOM_EDITOR
#include <Editor/EditorSystemComponent.h>
#endif
namespace AZ
{
@@ -28,7 +31,10 @@ namespace AZ
: Module()
{
m_descriptors.insert(m_descriptors.end(), {
ActorSystemComponent::CreateDescriptor()
ActorSystemComponent::CreateDescriptor(),
#ifdef EMOTIONFXATOM_EDITOR
EMotionFXAtom::EditorSystemComponent::CreateDescriptor(),
#endif
});
}
@@ -39,6 +45,9 @@ namespace AZ
{
return ComponentTypeList{
azrtti_typeid<ActorSystemComponent>(),
#ifdef EMOTIONFXATOM_EDITOR
azrtti_typeid<EMotionFXAtom::EditorSystemComponent>(),
#endif
};
}
};