Package nl.colorize.multimedialib.tool
Class Demo3D
java.lang.Object
nl.colorize.multimedialib.tool.Demo3D
- All Implemented Interfaces:
ErrorHandler,Scene
Simple demo application for 3D graphics that shows a checkerboard floor and
a number of models randomly walking around.
-
Field Summary
Fields inherited from interface nl.colorize.multimedialib.renderer.ErrorHandler
DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonError(SceneContext context, Exception cause) voidstart(SceneContext context) Initialization logic that should be performed when the scene is started.voidupdate(SceneContext context, float deltaTime) Called during every frame update for as long as the scene is active.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nl.colorize.multimedialib.scene.Scene
end, isCompleted
-
Constructor Details
-
Demo3D
public Demo3D()
-
-
Method Details
-
start
Description copied from interface:SceneInitialization logic that should be performed when the scene is started. Note that this method is called *every* time the scene is started, not just the first time.This method is optional, the default implementation does nothing.
-
update
Description copied from interface:SceneCalled during every frame update for as long as the scene is active.deltaTimeindicates the elapsed time since the last frame, in seconds. -
onError
- Specified by:
onErrorin interfaceErrorHandler
-