docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ParticleGUI

    Editor script for the particle material inspector.

    Inheritance
    object
    ParticleGUI
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering.Universal.ShaderGUI
    Assembly: Unity.RenderPipelines.Universal.Editor.dll
    Syntax
    public static class ParticleGUI

    Methods

    DoVertexStreamsArea(Material, List<ParticleSystemRenderer>, bool)

    Draws the vertex streams area.

    Declaration
    public static void DoVertexStreamsArea(Material material, List<ParticleSystemRenderer> renderers, bool useLighting = false)
    Parameters
    Type Name Description
    Material material

    The material to use.

    List<ParticleSystemRenderer> renderers

    List of particle system renderers.

    bool useLighting

    Marks whether the renderers uses lighting or not.

    FadingOptions(Material, MaterialEditor, ParticleProperties)

    Draws the fading options GUI.

    Declaration
    public static void FadingOptions(Material material, MaterialEditor materialEditor, ParticleGUI.ParticleProperties properties)
    Parameters
    Type Name Description
    Material material

    The material to use.

    MaterialEditor materialEditor

    The material editor to use.

    ParticleGUI.ParticleProperties properties

    The particle properties to use.

    SetMaterialKeywords(Material)

    Sets up the keywords for the material and shader.

    Declaration
    public static void SetMaterialKeywords(Material material)
    Parameters
    Type Name Description
    Material material

    The material to use.

    SetupMaterialWithColorMode(Material)

    Sets up the material with correct keywords based on the color mode.

    Declaration
    public static void SetupMaterialWithColorMode(Material material)
    Parameters
    Type Name Description
    Material material

    The material to use.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)