Renderer · interface

WindState

Explained in Hello world.

interface WindState
import type { WindState } from '@driftengine/core';

Properties

NameTypeDescription
velocityXnumber
velocityZnumber
speednumberMagnitude of the velocity, always non-negative.
gustnumberGust component alone, -1..1, for effects that want the deviation.