AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.presentation.Configuration3D
All Implemented Interfaces:
java.io.Serializable

public class Configuration3D
extends java.lang.Object
implements java.io.Serializable
Configuration of 3D world of the associated agent
This object controls the background color and grid at the Z=0 plane.
Background and grid are only applied at the scope of the underlying agent.
Author:
AnyLogic North America, LLC https://anylogic.com
See Also:
Serialized Form

Method Summary

All Methods Instance Methods Concrete Methods 
java.awt.Color getBackgroundColor()
Returns the background color of 3D world of the agent
java.awt.Color getGridColor()
Returns grid color or null (if grid is invisible)
SkyboxType getSkybox()  
void setBackgroundColor​(java.awt.Color backgroundColor)
Sets the background color of 3D world of the agent
void setGridColor​(java.awt.Color gridColor)
Sets new grid color value or disables grid
void setSkybox​(SkyboxType skybox)  
Modifier and Type Method Description

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

getGridColor

public java.awt.Color getGridColor()
Returns grid color or null (if grid is invisible)
Returns:
grid color or null (if grid is invisible)

setGridColor

public void setGridColor​(java.awt.Color gridColor)
Sets new grid color value or disables grid
Parameters:
gridColor - new grid color, or null to make grid invisible

getBackgroundColor

public java.awt.Color getBackgroundColor()
Returns the background color of 3D world of the agent
Returns:
the background color of 3D world of the agent, not null

setBackgroundColor

public void setBackgroundColor​(java.awt.Color backgroundColor)
Sets the background color of 3D world of the agent
Parameters:
backgroundColor - the background color of 3D world of the agent

getSkybox

public SkyboxType getSkybox()

setSkybox

public void setSkybox​(SkyboxType skybox)
How can we improve this article?