// SPDX-FileCopyrightText: 2023 Unity Technologies and the glTFast authors
// SPDX-License-Identifier: Apache-2.0
namespace GLTFast.Schema
{
///
/// Scene, the top level hierarchy object.
///
[System.Serializable]
public class Scene : NamedObject
{
///
/// The indices of all root nodes
///
public uint[] nodes;
internal void GltfSerialize(JsonWriter writer)
{
writer.AddObject();
GltfSerializeName(writer);
writer.AddArrayProperty("nodes", nodes);
writer.Close();
}
}
}