![]() |
VR-Forces 4.3 Class Documentation
|

Public Member Functions | |
| DtOceanStateInterface () | |
| CTOR. | |
| virtual | ~DtOceanStateInterface () |
| Virtual DTOR. | |
| virtual bool | getIsUnderwater () const |
| Water visibility when below water. | |
| virtual bool | isOverWater (const DtVector &localPosition) |
| Returns whether we are currently over water. | |
| virtual float | getMaximumWaveHeight () |
| Returns maximum wave height just based on the sea state. | |
| virtual float | seaLevel () const |
| Returns the current sea level. | |
| makVrv::DtOceanStateInterface::DtOceanStateInterface | ( | ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
Water visibility when below water.
Reimplemented in makVrv::DtTritonManager.
Returns whether we are currently over water.
This can't be implemented correctly until we have coastal boundaries. For now, we use the returned height of an terrain intersect call - sea level is water, anything higher is not.
Reimplemented in makVrv::DtTritonManager.
|
virtual |
Returns maximum wave height just based on the sea state.
Reimplemented in makVrv::DtTritonManager.
|
virtual |
Returns the current sea level.
Reimplemented in makVrv::DtTritonManager.