docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IMaterialsVariantsProvider

    Provides access to glTF materials variants.

    Namespace: GLTFast
    Assembly: glTFast.dll
    Syntax
    public interface IMaterialsVariantsProvider

    Properties

    MaterialsVariantsCount

    Number of materials variants.

    Declaration
    int MaterialsVariantsCount { get; }
    Property Value
    Type Description
    int
    See Also
    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_variants

    Methods

    GetMaterialsVariantName(int)

    Gets the name of a specific materials variant.

    Declaration
    string GetMaterialsVariantName(int index)
    Parameters
    Type Name Description
    int index

    Materials variant index.

    Returns
    Type Description
    string

    Name of a materials variant.

    See Also
    https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_variants
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)