MCPcopy Create free account
hub / github.com/FaceFX/FaceFX-UE4 / StartupModule

Method StartupModule

Source/FaceFX/Private/FaceFX.cpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54class FFaceFXModule : public FDefaultModuleImpl
55{
56 virtual void StartupModule() override
57 {
58 if(!GIsEditor)
59 {
60 //Workaround for the circumstance that we have the anim graph node inside an editor only plugin and we can't load the plugin for editor AND uncooked but not during cooked
61 //Instead we explicitly load the plugin for this scenario when we play with uncooked standalone
62 //That looks like an engine bug. See: https://udn.unrealengine.com/questions/247518/editor-only-plugin-modules.html
63 FModuleManager::LoadModuleChecked<FDefaultModuleImpl>("FaceFXEditor");
64 }
65 }
66};
67IMPLEMENT_MODULE(FFaceFXModule, FaceFX);
68#else

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected