Class TextEditorDemo
java.lang.Object
eu.svjatoslav.aukio.e3d.examples.TextEditorDemo
Demo showing a grid of 3D text editor components.
Creates a 5x5 grid of text editors floating in 3D space with a decorative grid
below them. This demonstrates the basic text editing capabilities of the Aukio 3D engine.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbuildScene(eu.svjatoslav.aukio.e3d.renderer.raster.ShapeCollection shapes, eu.svjatoslav.aukio.e3d.renderer.raster.lighting.LightingManager lighting, eu.svjatoslav.aukio.e3d.geometry.Camera camera) Builds the demo scene: a 5x5 grid of text editors with a decorative grid below them, camera pulled back to overview the grid.static voidEntry point for the text editor demo.
-
Constructor Details
-
TextEditorDemo
public TextEditorDemo()Creates a new TextEditorDemo instance.
-
-
Method Details
-
main
Entry point for the text editor demo.- Parameters:
args- command line arguments (ignored)
-
buildScene
public static void buildScene(eu.svjatoslav.aukio.e3d.renderer.raster.ShapeCollection shapes, eu.svjatoslav.aukio.e3d.renderer.raster.lighting.LightingManager lighting, eu.svjatoslav.aukio.e3d.geometry.Camera camera) Builds the demo scene: a 5x5 grid of text editors with a decorative grid below them, camera pulled back to overview the grid. Called by bothmain(String[])and the golden-image harness — must stay deterministic (no time, no unseeded randomness).- Parameters:
shapes- scene to add shapes tolighting- lighting to configure (unused here)camera- camera to position
-