setGravity
(g:
number
)
:
void
Set gravity.