Search Results for

    Show / Hide Table of Contents

    Constructor ActivatableSection

    ActivatableSection(String, String, Single, Single, Single, Single)

    Constructor of ActivatableSection used when creating a property driven ActivatableSection.

    Declaration
    public ActivatableSection(string activatePropertyName, string showPropertyName, float enableValue = 1F, float disableValue = 0F, float hideValue = 0F, float showValue = 1F)
    Parameters
    Type Name Description
    String activatePropertyName

    Material property that will drive the section enable state

    String showPropertyName

    Material property that will drive the section open state

    Single enableValue

    Float value that the material property will have if the section is disabled, optional (default: 0).

    Single disableValue

    Float value that the material property will have if the section is enabled, optional (default: 1).

    Single hideValue

    Float value that the material property will have if the section is collapsed, optional (default: 0).

    Single showValue

    Float value that the material property will have if the section is visible, optional (default: 1).

    ActivatableSection(String, Single, Single)

    Default constructor of ActivatableSection.

    Declaration
    public ActivatableSection(string activatePropertyName, float enableValue = 1F, float disableValue = 0F)
    Parameters
    Type Name Description
    String activatePropertyName

    Material property that will drive the section enable state

    Single enableValue

    Float value that the material property will have if the section is disabled, optional (default: 0).

    Single disableValue

    Float value that the material property will have if the section is enabled, optional (default: 1).

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