Package nl.colorize.multimedialib.stage
Class World3D
java.lang.Object
nl.colorize.multimedialib.stage.World3D
- All Implemented Interfaces:
Updatable
Access to all 3D graphicson the stage, only avalailable when using a
renderer that supports 3D graphics. If both 2D and 3D graphics are used,
the 3D graphics will appear "below" all 2D graphics.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
setAmbientLight
(ColorRGB ambientLight) void
setCameraPosition
(Point3D cameraPosition) void
setCameraTarget
(Point3D cameraTarget) void
setLightColor
(ColorRGB lightColor) void
setLightPosition
(Point3D lightPosition) toString()
void
update
(float deltaTime) Updates this object for the current frame.
-
Constructor Details
-
World3D
protected World3D()
-
-
Method Details
-
update
public void update(float deltaTime) Description copied from interface:Updatable
Updates this object for the current frame.deltaTime
indicates the elapsed time since the last frame update, in seconds. -
clear
public void clear() -
toString
-
getCameraPosition
-
getCameraTarget
-
getAmbientLight
-
getLightColor
-
getLightPosition
-
getChildren
-
setCameraPosition
-
setCameraTarget
-
setAmbientLight
-
setLightColor
-
setLightPosition
-