docs.unity3d.com
    Show / Hide Table of Contents

    Class MaterialSlotMatch

    Class MaterialSlotMatch.

    Inheritance
    Object
    MaterialSlotMatch
    Namespace: Unity.Industrial.Forma.Core.Variants
    Syntax
    public class MaterialSlotMatch : object

    Constructors

    MaterialSlotMatch(MaterialSlot)

    Initializes a new instance of the MaterialSlotMatch class.

    Declaration
    public MaterialSlotMatch(MaterialSlot materialSlot)
    Parameters
    Type Name Description
    MaterialSlot materialSlot

    The material slot.

    Methods

    Matches(GameObject)

    Matcheses the specified game object.

    Declaration
    public virtual MaterialSlot Matches(GameObject gameObject)
    Parameters
    Type Name Description
    GameObject gameObject

    The game object.

    Returns
    Type Description
    MaterialSlot

    MaterialSlot.

    Matches(Renderer, String)

    Matches the specified Renderer.

    Declaration
    public virtual MaterialSlot Matches(Renderer renderer, string path)
    Parameters
    Type Name Description
    Renderer renderer
    String path
    Returns
    Type Description
    MaterialSlot
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023