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

Method BoxScriptingTypeHandle

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

Source from the content-addressed store, hash-verified

158}
159
160MTypeObject* MUtils::BoxScriptingTypeHandle(const ScriptingTypeHandle& value)
161{
162 MTypeObject* result = nullptr;
163 if (value)
164 {
165 MType* mType = value.GetType().ManagedClass->GetType();
166 result = INTERNAL_TYPE_GET_OBJECT(mType);
167 }
168 return result;
169}
170
171VariantType MUtils::UnboxVariantType(MType* type)
172{

Callers

nothing calls this directly

Calls 1

GetTypeMethod · 0.45

Tested by

no test coverage detected