Search Results for

    Show / Hide Table of Contents

    Method UpdateEnabled

    UpdateEnabled(MaterialEditor)

    Updates the source of the Enabled boolean base on the settings of this control. Should only be used inside ControlGUI(MaterialEditor).

    Declaration
    protected void UpdateEnabled(MaterialEditor materialEditor)
    Parameters
    Type Name Description
    MaterialEditor materialEditor

    Material editor.

    Remarks

    This method is available for all section controls inheriting this class and will automatically update the current value of the Show boolean based on if the section folding state is handled by a material property or a dictionary value. You should call it inside your override of ControlGUI(MaterialEditor), possibly at the end of it.

    In This Article
    Back to top Copyright © VRLabs.
    Generated by DocFX