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

Function GetObjectName

Source/Engine/Level/Prefabs/Prefab.Apply.cpp:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82 String GetObjectName(SceneObject* obj)
83 {
84 String name = obj->GetSceneObjectId().ToString();
85 if (auto actor = ScriptingObject::Cast<Actor>(obj))
86 name += TEXT(":") + actor->GetName();
87 return name;
88 }
89};
90
91/// <summary>

Callers 2

ApplyAllInternalMethod · 0.85

Calls 2

ToStringMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected