{{oldin|[[0.9.0]]|090||type=function|text=It has been replaced by [[ParticleSystem:setLinearAcceleration]]}}
Sets the gravity affecting the particles (acceleration along the y-axis).
Every particle created will have a gravity between min and max.
== 関数 ==
=== 概要 ===
<source lang="lua">
ParticleSystem:setGravity( min, max )
</source>
=== 引数 ===
{{param (日本語)|number|min|The minimum gravity.}}
{{param (日本語)|number|max (min)|The maximum gravity.}}
=== 返値 ===
ありません。
== 関連 ==
* [[parent::ParticleSystem (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Sets the gravity affecting the particles (acceleration along the y-axis).}}
{{#set:Since=000}}
== そのほかの言語 ==
{{i18n (日本語)|ParticleSystem:setGravity}}