Files
AR-Menu/Library/PackageCache/com.unity.cloud.gltfast@db5a82ec0b47/Runtime/Scripts/IMaterialsVariantsProvider.cs
2025-11-30 08:35:03 +02:00

21 lines
550 B
C#

// SPDX-FileCopyrightText: 2024 Unity Technologies and the glTFast authors
// SPDX-License-Identifier: Apache-2.0
using System;
using GLTFast.Schema;
namespace GLTFast
{
/// <summary>
/// Provides access to glTF materials variants.
/// </summary>
public interface IMaterialsVariantsProvider
{
/// <inheritdoc cref="RootBase.MaterialsVariantsCount"/>
int MaterialsVariantsCount { get; }
/// <inheritdoc cref="RootBase.GetMaterialsVariantName"/>
string GetMaterialsVariantName(int index);
}
}