Version: 2017.3
Custom Data module
Системы частиц (Более старая система, используемая до версии 3.5)

Renderer module

The Renderer module’s settings determine how a particle’s image or Mesh is transformed, shaded and overdrawn by other particles.

Свойства

Свойство: Функция:
Render Mode How the rendered image is produced from the graphic image (or Mesh). See Details, below, for more information.
    Billboard The particle always faces the Camera.
    Stretched Billboard The particle faces the Camera but with various scaling applied (see below).
        Camera Scale Stretches particles according to Camera movement. Set this to 0 to disable Camera movement stretching.
        Velocity Scale Stretches particles proportionally to their speed. Set this to 0 to disable stretching based on speed.
        Length Scale Stretches particles proportionally to their current size along the direction of their velocity. Setting this to 0 makes the particles disappear, having effectively 0 length.
    Horizontal Billboard The particle plane is parallel to the XZ “floor” plane.
    Vertical Billboard The particle is upright on the world Y-axis, but turns to face the Camera.
    Mesh The particle is rendered from a 3D Mesh instead of a Texture.
    None This can be useful when using the Trails module, if you want to only render the trails and hide the default rendering.
Normal Direction Bias of lighting normals used for the particle graphics. A value of 1.0 points the normals at the Camera, while a value of 0.0 points them towards the center of the screen (Billboard modes only).
Material Материал использованный при рендере частиц.
Trail Material Material used to render particle trails. This option is only available when the Trails module is enabled.
Sort Mode The order in which particles are drawn (and therefore overlaid). The possible values are By Distance (from the Camera), Oldest in Front, and Youngest in Front. Each particle within a system will be sorted according to this setting.
Sorting Fudge Bias of particle system sort ordering. Lower values increase the relative chance that particle systems are drawn over other transparent GameObjects, including other particle systems. This setting only affects where an entire system appears in the scene - it does not perform sorting on individual particles within a system.
Min Particle Size The smallest particle size (regardless of other settings), expressed as a fraction of viewport size. Note that this setting is only applied when the Rendering Mode is set to Billboard.
Max Particle Size The largest particle size (regardless of other settings), expressed as a fraction of viewport size. Note that this setting is only applied when the Rendering Mode is set to Billboard.
Billboard Alignment Use the drop-down to choose which direction particle billboards face.
    View Particles face the Camera plane.
    World Particles are aligned with the world axes.
    Local Particles are aligned to the Transform component of their GameObject.
    Facing Particles face the direct position of the Camera GameObject.
Pivot Modify the pivot point used as the center for rotating particles.
Visualize Pivot Preview the particle pivot points in the Scene View.
Custom Vertex Streams Configure which particle properties are available in the Vertex Shader of your Material. See Particle System Vertex Streams for more details.
Cast Shadows If enabled, the particle system creates shadows when a shadow-casting Light shines on it.
    On Select On to enable shadows.
    Off Select Off to disable shadows.
    Two-Sided Select Two Sided to allow shadows to be cast from either side of the Mesh (meaning backface culling is not taken into account).
    Shadows Only Select Shadows Only to make it so that the shadows are visible, but the Mesh itself is not.
Receive Shadows Dictates whether shadows can be cast onto particles. Only opaque materials can receive shadows.
Sorting Layer Name of the Renderer’s sorting layer.
Order in Layer This Renderer’s order within a sorting layer.
Light Probes Probe-based lighting interpolation mode.
Reflection Probes If enabled and reflection probes are present in the Scene, a reflection texture is picked for this GameObject and set as a built-in Shader uniform variable.
Anchor Override A Transform used to determine the interpolation position when the Light Probe or Reflection Probe systems are used.

Details

The Render Mode lets you choose between several 2D Billboard graphic modes and Mesh mode. Using 3D Meshes gives particles extra authenticity when they represent solid GameObjects, such as rocks, and can also improve the sense of volume for clouds, fireballs and liquids. When 2D billboard graphics are used, the different options can be used for a variety of effects.

  1. Billboard mode is good for particles representing volumes that look much the same from any direction (such as clouds).

  2. Horizontal Billboard mode can be used when the particles cover the ground (such as target indicators and magic spell effects) or when they are flat objects that fly or float parallel to the ground (for example, shurikens).

  3. Vertical Billboard mode keeps each particle upright and perpendicular to the XZ plane, but allows it to rotate around its y-axis. This can be helpful when you are using an orthographic Camera and want particle sizes to stay consistent.

  4. Stretched Billboard mode accentuates the apparent speed of particles in a similar way to the “stretch and squash” techniques used by traditional animators. Note that in Stretched Billboard mode, particles are aligned to face the Camera and also aligned to their velocity. This alignment occurs regardless of the Velocity Scale value - even if Velocity Scale is set to 0, particles in this mode still align to the velocity.

The Normal Direction can be used to create spherical shading on the flat rectangular billboards. This can help create the illusion of 3D particles if you are using a Material that applies lighting to your particles. This setting is only used with the Billboard render modes.

Custom Data module
Системы частиц (Более старая система, используемая до версии 3.5)
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961