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

22 lines
596 B
C#

// SPDX-FileCopyrightText: 2023 Unity Technologies and the glTFast authors
// SPDX-License-Identifier: Apache-2.0
namespace GLTFast.Schema
{
/// <summary>
/// This extension defines an unlit shading model for use in glTF 2.0
/// materials, as an alternative to the Physically Based Rendering (PBR)
/// shading models provided by the core specification.
/// </summary>
[System.Serializable]
public class MaterialUnlit
{
internal void GltfSerialize(JsonWriter writer)
{
writer.AddObject();
writer.Close();
}
}
}