MCPcopy Create free account
hub / github.com/BoomingTech/Piccolo / tick

Method tick

engine/source/editor/source/editor_scene_manager.cpp:22–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 void EditorSceneManager::initialize() {}
21
22 void EditorSceneManager::tick(float delta_time)
23 {
24 std::shared_ptr<GObject> selected_gobject = getSelectedGObject().lock();
25 if (selected_gobject)
26 {
27 TransformComponent* transform_component = selected_gobject->tryGetComponent(TransformComponent);
28 if (transform_component)
29 {
30 transform_component->setDirtyFlag(true);
31 }
32 }
33 }
34
35 float intersectPlaneRay(Vector3 normal, float d, Vector3 origin, Vector3 dir)
36 {

Callers 2

ebFunction · 0.45
runMethod · 0.45

Calls 2

tryGetComponentMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected