Package com.anylogic.engine.presentation
- Method Summary
- Method Details
- getGridColor
- setGridColor
- getBackgroundColor
- setBackgroundColor
- getSkybox
- setSkybox
- getEnvironmentFilePath
- setEnvironmentFilePath
- setEnvironmentFilePackagePrefix
- getEnvironmentIntensity
- setEnvironmentIntensity
- getEnvironmentRotationX
- setEnvironmentRotationX
- getEnvironmentRotationY
- setEnvironmentRotationY
- getEnvironmentRotationZ
- setEnvironmentRotationZ
- isUseEnvironmentForBackground
- setUseEnvironmentForBackground
- isUseEnvironmentForLightning
- setUseEnvironmentForLightning
- 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
|
String | getEnvironmentFilePath() | |
double | getEnvironmentIntensity() | |
float | getEnvironmentRotationX() | |
float | getEnvironmentRotationY() | |
float | getEnvironmentRotationZ() | |
Color | getGridColor() |
Returns grid color or
null (if grid is invisible) |
SkyboxType | getSkybox() | |
boolean | isUseEnvironmentForBackground() | |
boolean | isUseEnvironmentForLightning() | |
void | setBackgroundColor |
Sets the background color of 3D world of the agent
|
void | setEnvironmentFilePackagePrefix | |
void | setEnvironmentFilePath | |
void | setEnvironmentIntensity | |
void | setEnvironmentRotationX | |
void | setEnvironmentRotationY | |
void | setEnvironmentRotationZ | |
void | setGridColor |
Sets new grid color value or disables grid
|
void | setSkybox | |
void | setUseEnvironmentForBackground | |
void | setUseEnvironmentForLightning |
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, ornullto 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)
public String getEnvironmentFilePath()
public void setEnvironmentFilePath(String environmentFilePath)
public void setEnvironmentFilePackagePrefix(String packagePrefix)
public double getEnvironmentIntensity()
public void setEnvironmentIntensity(double environmentIntensity)
public float getEnvironmentRotationX()
public void setEnvironmentRotationX(float environmentRotationX)
public float getEnvironmentRotationY()
public void setEnvironmentRotationY(float environmentRotationY)
public float getEnvironmentRotationZ()
public void setEnvironmentRotationZ(float environmentRotationZ)
public boolean isUseEnvironmentForBackground()
public void setUseEnvironmentForBackground(boolean useEnvironmentForBackground)
public boolean isUseEnvironmentForLightning()
public void setUseEnvironmentForLightning(boolean useEnvironmentForLightning)