java.lang.Object
de.s42.jara.enitites.Entity
de.s42.jara.enitites.Scene
public class Scene extends Entity
- Author:
- Benjamin Schiller
-
Field Summary
Fields Modifier and Type Field Description private AmbientLight
ambientLight
private Color
backgroundColor
private Texture
backgroundTexture
private double
backgroundTextureOffsetX
private double
backgroundTextureOffsetY
private double
backgroundTextureSmoothing
private double
backgroundTextureSmoothingRender
private Camera
camera
private DirectionalLight
directionalLight
String
name
boolean
showDirectBackground
private SpatialPartitioning
spatial
-
Constructor Summary
-
Method Summary
-
Field Details
-
camera
-
directionalLight
-
ambientLight
-
name
-
backgroundTexture
-
backgroundTextureOffsetX
private double backgroundTextureOffsetX -
backgroundTextureOffsetY
private double backgroundTextureOffsetY -
backgroundTextureSmoothing
private double backgroundTextureSmoothing -
backgroundTextureSmoothingRender
private double backgroundTextureSmoothingRender -
showDirectBackground
public boolean showDirectBackground -
backgroundColor
-
spatial
-
-
Constructor Details
-
Method Details
-
add
-
add
-
prepareForRendering
public void prepareForRendering() -
intersect
-
background
-
getCamera
-
setCamera
-
getDirectionalLight
-
setDirectionalLight
-
getAmbientLight
-
setAmbientLight
-
isShowDirectBackground
public boolean isShowDirectBackground() -
setShowDirectBackground
public void setShowDirectBackground(boolean showDirectBackground) -
getBackgroundTexture
-
setBackgroundTexture
-
getBackgroundTextureOffsetX
public double getBackgroundTextureOffsetX() -
setBackgroundTextureOffsetX
public void setBackgroundTextureOffsetX(double backgroundTextureOffsetX) -
getBackgroundColor
-
setBackgroundColor
-
getBackgroundTextureSmoothing
public double getBackgroundTextureSmoothing() -
setBackgroundTextureSmoothing
public void setBackgroundTextureSmoothing(double backgroundTextureSmoothing) -
getBackgroundTextureSmoothingRender
public double getBackgroundTextureSmoothingRender() -
setBackgroundTextureSmoothingRender
public void setBackgroundTextureSmoothingRender(double backgroundTextureSmoothingRender)
-