public void createDebugInterface(RendererPlugin rendererPlugin, SimSubScene subScene) { drawingSurface = rendererPlugin.createDebugDrawingSurface("BEPUikDebugSurface", subScene); if (drawingSurface != null) { drawingSurface.setDepthTesting(depthTesting); } }
void sceneController_OnSceneLoaded(SceneController controller, SimScene scene) { debugSurface = renderer.createDebugDrawingSurface("EditInterfaceRenderer", scene.getDefaultSubScene()); if (debugSurface != null) { debugSurface.moveOrigin(currentOrigin); debugSurface.setOrientation(currentRotation); } }
public void sceneLoaded(SimScene scene) { SimSubScene subScene = scene.getDefaultSubScene(); if (subScene != null) { drawingSurface = rendererPlugin.createDebugDrawingSurface(name + "DebugSurface", subScene); drawingSurface.setDepthTesting(false); drawingSurface.setVisible(visible); } }