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

Method IsAssignableFrom

Source/Engine/Scripting/BinaryModule.cpp:93–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93bool ScriptingTypeHandle::IsAssignableFrom(ScriptingTypeHandle c) const
94{
95 while (c)
96 {
97 if (c == *this)
98 return true;
99 c = c.GetType().GetBaseType();
100 }
101 return false;
102}
103
104bool ScriptingTypeHandle::operator==(const ScriptingTypeInitializer& other) const
105{

Callers 15

AddSerializerMethod · 0.45
AddRPCMethod · 0.45
IsValidBlackboardTypeMethod · 0.45
IsAssignableFromFunction · 0.45
TypeIsAssignableFromMethod · 0.45
CastMethod · 0.45
ToVariantTypeMethod · 0.45
GetInstanceFunction · 0.45
GetChildMethod · 0.45
CanCastMethod · 0.45
AreEqualMethod · 0.45
AreNotEqualMethod · 0.45

Calls 1

GetTypeMethod · 0.45

Tested by

no test coverage detected