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

Method IsInstanceOfType

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

Source from the content-addressed store, hash-verified

1044}
1045
1046bool MClass::IsInstanceOfType(MObject* object) const
1047{
1048 if (object == nullptr)
1049 return false;
1050 MClass* objectClass = MCore::Object::GetClass(object);
1051 return IsSubClassOf(objectClass, false);
1052}
1053
1054uint32 MClass::GetInstanceSize() const
1055{

Callers

nothing calls this directly

Calls 1

GetClassFunction · 0.70

Tested by

no test coverage detected