Package com.anylogic.engine.presentation
- java.lang.Object
- com.anylogic.engine.presentation.Configuration3D
- All Implemented Interfaces:
Serializable
public class Configuration3D extends Object implements 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.
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
Modifier and Type | Method | Description |
---|---|---|
Color | getBackgroundColor() |
Returns the background color of 3D world of the agent
|
Color | getGridColor() |
Returns grid color or
null (if grid is invisible) |
SkyboxType | getSkybox() | |
void | setBackgroundColor |
Sets the background color of 3D world of the agent
|
void | setGridColor |
Sets new grid color value or disables grid
|
void | setSkybox |
public Color getGridColor()
Returns grid color or
null
(if grid is invisible)- Returns:
- grid color or
null
(if grid is invisible)
public void setGridColor(Color gridColor)
Sets new grid color value or disables grid
- Parameters:
gridColor
- new grid color, ornull
to make grid invisible
public Color getBackgroundColor()
Returns the background color of 3D world of the agent
- Returns:
- the background color of 3D world of the agent, not
null
public void setBackgroundColor(Color backgroundColor)
Sets the background color of 3D world of the agent
- Parameters:
backgroundColor
- the background color of 3D world of the agent
public SkyboxType getSkybox()
public void setSkybox(SkyboxType skybox)