{{newin (日本語)|[[0.9.0 (日本語)|0.9.0]]|090|type=関数}}
{{deprecatedin|[[11.0]]|110|type=function|text=This function has been renamed to [[ParticleSystem:setEmissionArea]]}}
Sets area-based spawn parameters for the particles. Newly created particles will spawn in an area around the emitter based on the parameters to this function.
== 関数 ==
=== 概要 ===
<source lang="lua">
ParticleSystem:setAreaSpread( distribution, dx, dy )
</source>
=== 引数 ===
{{param (日本語)|AreaSpreadDistribution|distribution|The type of distribution for new particles.}}
{{param (日本語)|number|dx|The maximum spawn distance from the emitter along the x-axis for uniform distribution, or the standard deviation along the x-axis for normal distribution.}}
{{param (日本語)|number|dy|The maximum spawn distance from the emitter along the y-axis for uniform distribution, or the standard deviation along the y-axis for normal distribution.}}
=== 返値 ===
ありません。
== 関連 ==
* [[parent::ParticleSystem (日本語)]]
* [[ParticleSystem:getAreaSpread (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Sets area-based spawn parameters for the particles.}}
== そのほかの言語 ==
{{i18n (日本語)|ParticleSystem:setAreaSpread}}