using System;
using System.Collections.Generic;
using UniJSON;
namespace UniGLTF
{
///
/// https://github.com/KhronosGroup/glTF/issues/1036
///
[Serializable]
public partial class glTFPrimitives_extras : ExtraBase
{
[JsonSchema(Required = true, MinItems = 1)]
public List targetNames = new List();
[JsonSerializeMembers]
void PrimitiveMembers(GLTFJsonFormatter f)
{
if (targetNames.Count > 0)
{
f.Key("targetNames");
f.BeginList();
foreach (var x in targetNames)
{
f.Value(x);
}
f.EndList();
}
}
}
}