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 AmbientLightambientLightprivate ColorbackgroundColorprivate TexturebackgroundTextureprivate doublebackgroundTextureOffsetXprivate doublebackgroundTextureOffsetYprivate doublebackgroundTextureSmoothingprivate doublebackgroundTextureSmoothingRenderprivate Cameracameraprivate DirectionalLightdirectionalLightStringnamebooleanshowDirectBackgroundprivate SpatialPartitioningspatial -
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)
-