IWaterVolume

Interface to water volumes.

C++
struct IWaterVolume {
};
File

I3DEngine.h

Description

Water volumes should usually be created by I3DEngine::CreateWaterVolume.

IWaterVolume::SetPositionOffset Method

Sets a new water level.

C++
virtual void SetPositionOffset(const Vec3 & vNewOffset) = 0;
Parameters
Parameters
Description
const Vec3 & vNewOffset
Position of the new water level
Description

Used to change the water level. Will assign a new Z value to all vertices of the water geometry.