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

Method GetVisibility

Source/Engine/Scripting/ManagedCLR/MCore.cpp:278–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278MVisibility MProperty::GetVisibility() const
279{
280 if (GetGetMethod() && GetSetMethod())
281 {
282 return static_cast<MVisibility>(
283 Math::Max(
284 static_cast<int>(GetGetMethod()->GetVisibility()),
285 static_cast<int>(GetSetMethod()->GetVisibility())
286 ));
287 }
288 if (GetGetMethod())
289 {
290 return GetGetMethod()->GetVisibility();
291 }
292 return GetSetMethod()->GetVisibility();
293}
294
295bool MProperty::IsStatic() const
296{

Callers 2

FindDebugCommandsFunction · 0.80

Calls 1

MaxFunction · 0.50

Tested by

no test coverage detected