Function RigidBody2D.weight

The body's weight based on its mass and the Default Gravity value in Project > Project Settings > Physics > 2d.

double weight() nothrow @property @nogc;

void weight (
  double v
) nothrow @property @nogc;