Area2D.gravity

The area's gravity intensity (ranges from -1024 to 1024). This value multiplies the gravity vector. This is useful to alter the force of gravity without altering its direction.

  1. double gravity [@property getter]
    struct Area2D
    @nogc nothrow @property
    double
    gravity
    ()
  2. double gravity [@property setter]

Meta