Kill (Sphere) | Visual Effect Graph | 10.2.2
docs.unity3d.com
    Show / Hide Table of Contents

    Kill (Sphere)

    Menu Path : Kill > Kill (Sphere)

    The Kill (Sphere) Block kills (sets the alive attribute to false) particles depending on where they are in comparison to a given Sphere.

    Block settings

    Setting Type Description
    Mode Enum The method Unity uses to determine whether to kill a particle. The options are:
    • Solid: Kills particles within the Sphere.
    • Inverted: Kills particles outside of the Sphere.

    Block compatibility

    This Block is compatible with the following Contexts:

    • Initialize
    • Update
    • Any output Context

    Block properties

    Input Type Description
    Sphere Sphere The sphere to compare particle position to.

    Remark

    • If you use this block inside an output context, particles temporarily disappear, but don't stay killed.
    • Make sure to enable the Reap Particles option in update, otherwise killed particles don't disappear.
    In This Article
    • Block settings
    • Block compatibility
    • Block properties
    • Remark
    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