Search in sources :

Example 1 with MainRenderer

use of com.talosvfx.talos.editor.addons.scene.MainRenderer in project talos by rockbite.

the class CameraPreview method drawPreview.

private void drawPreview() {
    SceneEditorWorkspace workspace = SceneEditorAddon.get().workspace;
    GameObject rootGO = workspace.getRootGO();
    MainRenderer renderer = SceneEditorAddon.get().workspace.getRenderer();
    renderer.render(spriteBatch, rootGO);
}
Also used : SceneEditorWorkspace(com.talosvfx.talos.editor.addons.scene.SceneEditorWorkspace) MainRenderer(com.talosvfx.talos.editor.addons.scene.MainRenderer) GameObject(com.talosvfx.talos.editor.addons.scene.logic.GameObject)

Aggregations

MainRenderer (com.talosvfx.talos.editor.addons.scene.MainRenderer)1 SceneEditorWorkspace (com.talosvfx.talos.editor.addons.scene.SceneEditorWorkspace)1 GameObject (com.talosvfx.talos.editor.addons.scene.logic.GameObject)1