Version: 2017.1
Lights モジュール
Custom Data モジュール

Trails モジュール

Trails モジュールはパーティクルにトレイルを加えるのに使用されます。このモジュールのプロパティーの多くは Trail Renderer コンポーネントと共通していますが、Trails モジュールにはトレイルをパーティクルに簡単に設定したり、パーティクルのさまざまなプロパティーを継承したりする機能があります。トレイルは、弾丸、煙、魔法を表すような表現など様々なエフェクトに役立ちます。

プロパティー

プロパティー 説明
Ratio A value between 0 and 1, describing the proportion of particles that have a Trail assigned to them. Trails are assigned randomly, so this value represents a probability.
Lifetime トレイル内の各頂点の生存期間。属しているパーティクルの存続期間の乗数で指定します。新しい頂点がトレイルに追加されると、頂点は存続期間より長く存続した後に消えます。
Minimum Vertex Distance トレイルに新しい頂点が加えられる前に、パーティクルが移動する距離を指定します。
Texture Mode トレイルに適用されるテクスチャをその全体の長さに沿って伸ばすのか、または、N ユニットごとに距離に対して繰り返するのかを選択します。繰り返し率は、MaterialTiling パラメーターに基づいて制御されます。
World Space 有効にすると、トレイルの頂点は、Simulation Space を Local にしてもパーティクルシステムのゲームオブジェクトに連動しません。代わりに、トレイルの頂点は World に置かれ、パーティクルシステムの動きは無視されます。
Die With Particles If enabled (the box is checked), Trails vanish instantly when their particles die. If not enabled (the box is unchecked) the remaining Trail expires naturally based on its own remaining lifetime.
Size affects Width 有効にすると、トレイル幅はパーティクルサイズによって乗算されます。
Size affects Lifetime 有効にすると、トレイルの生存期間はパーティクルサイズによって乗算されます。
Inherit Particle Color 有効にすると、トレイルの色はパーティクルの色によって調節されます。
Color over Lifetime このカーブで、アタッチされているパーティクルの生存期間にわたりトレイル全体の色を制御します。
Width over Trail このカーブで、トレイル全長にわたる幅を制御します。
Color over Trail このカーブで、トレイル全長にわたる色を制御します。
Generate Lighting Data If enabled (the box is checked), the Trail geometry is built with Normals and Tangents included. This allows them to use Materials that use the scene lighting, for example via the Standard Shader, or by using a custom shader.



  • 2017–05–31 編集レビュー を行って修正されたページ

  • Size affects Width, Size affects Lifetime, Color over Lifetime, Width over Trail, Color over Trail, Generate Lighting Data added in Unity 2017.1NewIn20171

Lights モジュール
Custom Data モジュール