MCPcopy Create free account
hub / github.com/crownengine/crown / instance

Method instance

src/world/scene_graph.cpp:246–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246TransformId SceneGraph::instance(UnitId unit)
247{
248 return make_instance(hash_map::get(_map, unit, UINT32_MAX));
249}
250
251UnitId SceneGraph::owner(TransformId transform)
252{

Callers 12

collect_unitsFunction · 0.45
update_sceneMethod · 0.45
camera_view_matrixMethod · 0.45
reload_unitsMethod · 0.45
evaluateFunction · 0.45
mesh_set_skeletonMethod · 0.45
create_instancesMethod · 0.45
set_instance_dataMethod · 0.45
load_apiFunction · 0.45

Calls 2

getFunction · 0.85
make_instanceFunction · 0.70

Tested by

no test coverage detected