public class OceanEffect extends Object
限定符和类型 | 方法和说明 |
---|---|
boolean |
addImpact(String Name,
double diameter,
double mass)
添加水面冲击
|
boolean |
addRotorWash(String Name,
double rotorDiameter)
添加水面扰动特效
|
boolean |
addWakeGenerator(String name,
double beamWidth,
double length)
添加尾迹特效
|
OceanQualityType |
getQuality()
获取分析精度(包括低精度、一般精度以及高精度)
|
double |
getSeaLevel()
获取海平面高度
|
WakeGeneratorParameters |
getWakeGeneratorParameters(String name)
获取尾迹特效参数
|
double |
getWindDirection()
获取风向
|
double |
getWindSpeed()
获取风速
|
boolean |
isReflectEnable()
获取海洋是否开启镜面反射
|
boolean |
isSpryEnable()
获取是否开启浪花
|
boolean |
isVisble()
获取海洋是否可见
|
boolean |
removeImpact(String Name)
移除水面冲击
|
boolean |
removeRotorWash(String Name)
移除水面扰动特效
|
boolean |
removeWakeGenerator(String Name)
移除尾迹特效
|
void |
setQuality(OceanQualityType qualityType)
设置分析精度(包括低精度、一般精度以及高精度)
|
void |
setReflectEnable(boolean isReflectEnable)
设置海洋是否开启镜面反射
|
void |
setSeaLevel(double seaLevel)
设置海平面高度
|
void |
setSpryEnable(boolean isSpryEnable)
设置是否开启浪花
|
void |
setVisble(boolean isVisible)
设置海洋是否可见
|
boolean |
setWakeGeneratorParameters(String name,
WakeGeneratorParameters parameters)
设置尾迹特效参数
|
void |
setWindDirection(double direction)
设置风向
|
void |
setWindSpeed(double windSpeed)
设置风速
|
boolean |
triggerImpact(String Name,
Point3D position,
double velocity)
触发水面冲击
|
boolean |
updateRotorWash(String Name,
Point3D position)
刷新水面扰动特效
|
boolean |
updateWakeGenerator(String Name,
Point3D position)
刷新尾迹特效
|
public boolean isVisble()
public void setVisble(boolean isVisible)
isVisible
- public boolean isReflectEnable()
public void setReflectEnable(boolean isReflectEnable)
public OceanQualityType getQuality()
public void setQuality(OceanQualityType qualityType)
qualityType
- public boolean isSpryEnable()
public void setSpryEnable(boolean isSpryEnable)
isSpryEnable
- public double getSeaLevel()
public void setSeaLevel(double seaLevel)
seaLevel
- public double getWindSpeed()
public void setWindSpeed(double windSpeed)
windSpeed
- public double getWindDirection()
public void setWindDirection(double direction)
direction
- public boolean addRotorWash(String Name, double rotorDiameter)
Name
- rotorDiameter
- public boolean removeRotorWash(String Name)
Name
- public boolean updateRotorWash(String Name, Point3D position)
Name
- position
- public boolean addWakeGenerator(String name, double beamWidth, double length)
name
- beamWidth
- length
- public boolean removeWakeGenerator(String Name)
Name
- public boolean updateWakeGenerator(String Name, Point3D position)
Name
- position
- public WakeGeneratorParameters getWakeGeneratorParameters(String name)
name
- public boolean setWakeGeneratorParameters(String name, WakeGeneratorParameters parameters)
name
- parameters
- public boolean addImpact(String Name, double diameter, double mass)
Name
- diameter
- mass
- public boolean removeImpact(String Name)
Name
- Copyright © 2021–2024 SuperMap. All rights reserved.