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

Method GetType

Source/Engine/Scripting/Runtime/DotNet.cpp:687–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

685}
686
687MTypes MCore::Type::GetType(MType* type)
688{
689 MClass* klass = GetOrCreateClass(type);
690 if (klass->_types == 0)
691 {
692 static void* GetTypeMTypesEnumPtr = GetStaticMethodPointer(TEXT("GetTypeMTypesEnum"));
693 klass->_types = CallStaticMethod<uint32, void*>(GetTypeMTypesEnumPtr, klass->_handle);
694 }
695 return (MTypes)klass->_types;
696}
697
698bool MCore::Type::IsPointer(MType* type)
699{

Callers

nothing calls this directly

Calls 2

GetOrCreateClassFunction · 0.85
GetStaticMethodPointerFunction · 0.85

Tested by

no test coverage detected