Search Results for

    Show / Hide Table of Contents

    Method OnGUI

    OnGUI(MaterialEditor, MaterialProperty[])

    Method called when updating UI. Cannot be overridden in child classes, leave it alone.

    Declaration
    public sealed override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] properties)
    Parameters
    Type Name Description
    MaterialEditor materialEditor

    material editor that uses this GUI.

    MaterialProperty[] properties

    List of MaterialProperties currently available on the selected shader.

    Overrides
    ShaderGUI.OnGUI(MaterialEditor, MaterialProperty[])
    In This Article
    Back to top Copyright © VRLabs.
    Generated by DocFX