MCPcopy Create free account
hub / github.com/ddiakopoulos/polymer / get_object

Method get_object

libraries/lib-engine/src/scene.cpp:316–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316base_object * scene::get_object(const entity & e)
317{
318 auto it = graph.graph_objects.find(e);
319 return (it != graph.graph_objects.end()) ? &(it->second) : nullptr;
320}
321
322base_object & scene::instantiate(base_object && obj)
323{

Callers 15

scene.cppFile · 0.80
raycastMethod · 0.80
setup_accelerationMethod · 0.80
on_inputMethod · 0.80
on_drawMethod · 0.80
runMethod · 0.80
inspect_entityFunction · 0.80
get_world_transformMethod · 0.80
get_local_scaleMethod · 0.80

Calls 1

endMethod · 0.45

Tested by 1

inspect_entityFunction · 0.64