{{newin|[[0.9.0]]|090|type=function|text=It has replaced [[ParticleSystem:setGravity]]}}
Sets the linear acceleration (acceleration along the x and y axes) for particles.

Every particle created will accelerate along the x and y axes between xmin,ymin and xmax,ymax.
== 関数 ==
=== 概要 ===
<source lang="lua">
ParticleSystem:setLinearAcceleration( xmin, ymin, xmax, ymax )
</source>
=== 引数 ===
{{param (日本語)|number|xmin|The minimum acceleration along the x axis.}}
{{param (日本語)|number|ymin|The minimum acceleration along the y axis.}}
{{param (日本語)|number|xmax (xmin)|The maximum acceleration along the x axis.}}
{{param (日本語)|number|ymax (ymin)|The maximum acceleration along the y axis.}}

=== 返値 ===
ありません。
== 関連 ==
* [[parent::ParticleSystem (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Sets the linear acceleration (acceleration along the x and y axes) for particles.}}
== そのほかの言語 ==
{{i18n (日本語)|ParticleSystem:setLinearAcceleration}}