Function RigidBody.getAxisLock

Returns true if the specified linear or rotational axis is locked.

bool getAxisLock (
  const(long) axis
) nothrow @nogc const;