28 lines
610 B
C#
Executable File
28 lines
610 B
C#
Executable File
using System;
|
|
using System.Text.Json;
|
|
|
|
namespace ReFuel.Gltf
|
|
{
|
|
public class GltfEmptyExtensionProvider : IGltfExtensionProvider
|
|
{
|
|
public string Name { get; }
|
|
|
|
public Type? DataType { get; } = null;
|
|
|
|
public GltfEmptyExtensionProvider(string name)
|
|
{
|
|
Name = name;
|
|
}
|
|
|
|
public object ParseExtensionObject(JsonElement element)
|
|
{
|
|
throw new NotSupportedException();
|
|
}
|
|
|
|
public void WriteExtensionObject(object obj, Utf8JsonWriter writer)
|
|
{
|
|
throw new NotSupportedException();
|
|
}
|
|
}
|
|
}
|