Search Results for

    Show / Hide Table of Contents

    Constructor ToggleControl

    ToggleControl(String, Single, Single)

    Default constructor of ToggleControl

    Declaration
    public ToggleControl(string propertyName, float falseValue = 0F, float trueValue = 1F)
    Parameters
    Type Name Description
    String propertyName

    Material property name.

    Single falseValue

    Float value that the material property will have if the checkbox is not checked. Optional (default: 0).

    Single trueValue

    Float value that the material property will have if the checkbox is checked. Optional (default: 1).

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