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

22 lines
536 B
C#

// SPDX-FileCopyrightText: 2024 Unity Technologies and the glTFast authors
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using UnityEngine;
namespace GLTFast
{
interface IMaterialsVariantsSlotInstance
{
Task ApplyMaterialsVariantAsync(
int variantIndex,
IMaterialProvider materialProvider,
List<Material> materials,
CancellationToken cancellationToken
);
}
}