21 lines
550 B
C#
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);
|
|
}
|
|
}
|