|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.supermap.realspace.Atmosphere
public class Atmosphere
大气环境类。
大气环境对象是为了达到三维场景的真实感所采取大气层模拟效果。
public void TestAtmosphere() { //返回当前三维场景窗口的三维场景对象,并进行三维场景的设置 SceneControl sceneControl = new SceneControl(); Scene sceneObject = sceneControl.getScene(); Atmosphere atmosphere = sceneObject.getAtmosphere(); atmosphere.setVisible(true); sceneObject.refresh(); //释放占用的资源 sceneControl.dispose(); }
方法摘要 | |
---|---|
Rectangle2D |
getSwipeRegion()
返回大气环境开启卷帘的区域。 |
boolean |
isSwipeEnable()
返回大气环境的卷帘功能是否开启。 |
boolean |
isVisible()
返回大气环境是否可见。 |
void |
setSwipeEnable(boolean enable)
设置大气环境的卷帘功能是否开启。 |
void |
setSwipeRegion(Rectangle2D rec)
设置大气环境开启卷帘的区域。 |
void |
setVisible(boolean value)
设置大气环境是否可见。 |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
方法详细信息 |
---|
public boolean isVisible()
public void setVisible(boolean value)
value
- 一个布尔值指定大气环境是否可见。public void setSwipeEnable(boolean enable)
enable
- 指定是否开启卷帘功能。public boolean isSwipeEnable()
public Rectangle2D getSwipeRegion()
public void setSwipeRegion(Rectangle2D rec)
rec
- 指定开启卷帘的区域。
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |