Output Particle Line | Visual Effect Graph | 10.2.2
docs.unity3d.com
    Show / Hide Table of Contents

    Output Particle Line

    Menu Path : Context > Output Particle Line

    This Output Particle Line Context uses lines to render a particle system. Lines are defined by two end-points and are always a single pixel width regardless of the distance of the particle to the camera or the particle's size and scale attributes.

    Two modes are available to set the end point of the line. The first point is always at the particle position:

    • Using target offset in particle space. Specifies the second point via an offset defined in the particle space.
    • Using target position attribute. Specifies the second point with the target position attribute.

    This output does not support texturing or Shader Graph.

    Below is a list of settings and properties specific to the Output Particle Line Context. For information about the generic output settings this Context shares with all other Contexts, see Global Output Settings and Properties.

    Context settings

    Setting Type Description
    Use Target Offset bool Indicates whether this Context should derive the end point of the line as an offset to the particle position, in particle space. If you disable this property, the Context uses the target position attribute of the particle as the end point.

    Context properties

    Input Type Description
    Target Offset Vector3 The offset in particle space this Context applies to the particle position to derive the second point.
    This property is only available when you enable Use Target Offset.
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023