{}!Google Tag Manager end}} Class ParticleGUI | Universal RP | 14.0.9
docs.unity3d.com
    목차 표시/숨기기

    Class ParticleGUI

    Editor script for the particle material inspector.

    Inheritance
    Object
    ParticleGUI
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Rendering.Universal.ShaderGUI
    Syntax
    public static class ParticleGUI

    Methods

    DoVertexStreamsArea(Material, List<ParticleSystemRenderer>, Boolean)

    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.

    Boolean useLighting

    Marks whether the renderers uses lighting or not.

    FadingOptions(Material, MaterialEditor, ParticleGUI.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.

    맨 위로
    Copyright © 2023 Unity Technologies —
    • Your Privacy Choices (Cookie Settings)