Search Results for

    Show / Hide Table of Contents

    Class MaterialArrayHelper

    Helper class for handling Material arrays.

    Inheritance
    Object
    MaterialArrayHelper
    Namespace: VRLabs.SimpleShaderInspectors
    Syntax
    public static class MaterialArrayHelper
    Remarks

    Managing multiple materials inside the inspector could become slightly annoying, these extension functions will make this process less annoying by automatically looping the materials array to and do the operations you want

    Methods

    Name Description
    IsKeywordMixedValue(Material[], String)

    Gets the mixed value state of a keyword on the materials array

    SetInt(IEnumerable<Material>, String, Int32)

    Set int to all materials in the array.

    SetKeyword(Material[], String, Boolean)

    Sets a keyword state to all materials in the array.

    SetOverrideTag(IEnumerable<Material>, String, String)

    Set override tag to all materials in the array.

    SetRenderQueue(IEnumerable<Material>, Int32)

    Set render queue to all materials in the array.

    SetVector(IEnumerable<Material>, String, Vector4)

    Set vector to all materials in the array.

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