MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / FromInterface

Function FromInterface

Source/Engine/Scripting/ScriptingObject.h:122–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120
121 template<typename T>
122 static ScriptingObject* FromInterface(T* interfaceObj)
123 {
124 return FromInterface(interfaceObj, T::TypeInitializer);
125 }
126
127 static void* ToInterface(ScriptingObject* obj, const ScriptingTypeHandle& interfaceType);
128

Callers 2

SetDriverMethod · 0.85
InitializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected