public class Sky extends Object
限定符和类型 | 方法和说明 |
---|---|
double |
getCloudAltitude()
获取云层高度
|
CloudConditionsType |
getCloudCondition()
获取云层状态(晴天、局部有云、大部有云、阴天)
|
String |
getImagePath()
获取场景天空盒图片路径
|
double |
getPrecipitationRate()
获取降水量大小
|
PrecipitationType |
getPrecipitationType()
获取降水情况(包括无降水、降水、干雪、湿雪、冰雹)
|
boolean |
getSkyBoxEnable()
获取是否开启天空盒
|
double |
getSkyBoxHorizontalRotationAngle()
返回天空盒水平旋转角度。
|
double |
getWindDirection()
获取风向
|
double |
getWindSpeed()
获取风速
|
boolean |
isVisible()
获取真实天空是否可见
|
void |
setCloudAltitude(double cloudAltitude)
设置云层高度
|
void |
setCloudCondition(CloudConditionsType type)
设置云层状态(晴天、局部有云、大部有云、阴天)
|
void |
setImagePath(String imagePath)
设置场景天空盒图片路径
|
void |
setPrecipitationRate(double rate)
设置降水量大小
|
void |
setPrecipitationType(PrecipitationType type)
设置降水情况(包括无降水、降水、干雪、湿雪、冰雹)
|
void |
setSkyBoxEnable(boolean value)
开启天空盒
|
void |
setSkyBoxHorizontalRotationAngle(double angle)
设置天空盒水平旋转角度。
|
void |
setVisible(boolean isvisible)
设置真实天空是否可见
|
void |
setWindDirection(double direction)
设置风向
|
void |
setWindSpeed(double windSpeed)
设置风速
|
public boolean isVisible()
public void setVisible(boolean isvisible)
public double getWindSpeed()
public void setWindSpeed(double windSpeed)
public double getWindDirection()
public void setWindDirection(double direction)
public CloudConditionsType getCloudCondition()
public void setCloudCondition(CloudConditionsType type)
public PrecipitationType getPrecipitationType()
public void setPrecipitationType(PrecipitationType type)
public double getPrecipitationRate()
public void setPrecipitationRate(double rate)
public String getImagePath()
public void setImagePath(String imagePath)
public double getCloudAltitude()
public void setCloudAltitude(double cloudAltitude)
public double getSkyBoxHorizontalRotationAngle()
IllegalStateException
- 当前对象已被释放。public void setSkyBoxHorizontalRotationAngle(double angle)
angle
- 天空盒水平旋转角度。IllegalStateException
- 当前对象已被释放。public boolean getSkyBoxEnable()
public void setSkyBoxEnable(boolean value)
Copyright © 2021–2024 SuperMap. All rights reserved.