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

Method HasInterface

Source/Engine/Scripting/Runtime/Mono.cpp:1318–1321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1316}
1317
1318bool MClass::HasInterface(const MClass* klass) const
1319{
1320 return klass && mono_class_is_assignable_from(klass->GetNative(), _monoClass) != 0;
1321}
1322
1323bool MClass::IsInstanceOfType(MObject* object) const
1324{

Callers 9

GetChildMethod · 0.45
GetChildrenMethod · 0.45
GetScriptMethod · 0.45
GetScriptsMethod · 0.45
FindActorMethod · 0.45
FindScriptMethod · 0.45
FindActorRecursiveByTypeFunction · 0.45
GetActorsFunction · 0.45
GetScriptsFunction · 0.45

Calls 1

GetNativeMethod · 0.80

Tested by

no test coverage detected