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

Method GetType

Source/Engine/Scripting/ManagedCLR/MUtils.cpp:1023–1029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1021}
1022
1023MTypeObject* MUtils::GetType(MObject* object)
1024{
1025 if (!object)
1026 return nullptr;
1027 MClass* klass = MCore::Object::GetClass(object);
1028 return GetType(klass);
1029}
1030
1031MTypeObject* MUtils::GetType(MClass* klass)
1032{

Callers 6

BoxVariantTypeMethod · 0.45
UnboxVariantMethod · 0.45
BoxVariantMethod · 0.45
GetClassMethod · 0.45

Calls 2

GetTypeFunction · 0.85
GetClassFunction · 0.50

Tested by

no test coverage detected