QtCraft API C++ classes QML types Handbook

QcRenderOptions::Water Struct

struct QcRenderOptions::Water

The water of the realistic mode (decision E-906): wave octaves of the surface's normals, how far the refraction bends the picture behind it (0: straight through), the steps of the screen-space reflections (0: sky and sun only) and the strength of the caustics on the ground under shallow water (0: none). More...

Public Functions

bool drawn() const

Detailed Description

All zero in the classic mode, whose water is drawn as it always was.

Member Function Documentation

bool Water::drawn() const

Returns whether the realistic water is drawn (it has waves).