public YAMLNode ExportYAML(IExportContainer container) { YAMLMappingNode node = new YAMLMappingNode(); node.Add(BoundsName, Bounds.ExportYAML(container)); node.Add(LayerIndicesName, LayerIndices.ExportYAML()); node.Add(NumberOfObjectsName, NumberOfObjects.ExportYAML()); return(node); }
public YAMLNode ExportYAML(IExportContainer container) { YAMLMappingNode node = new YAMLMappingNode(); node.Add("bounds", Bounds.ExportYAML(container)); node.Add("layerIndices", LayerIndices.ExportYAML()); node.Add("numberOfObjects", NumberOfObjects.ExportYAML()); return(node); }
public YAMLNode ExportYAML(IAssetsExporter exporter) { YAMLMappingNode node = new YAMLMappingNode(); node.Add("bounds", Bounds.ExportYAML(exporter)); node.Add("layerIndices", LayerIndices.ExportYAML()); node.Add("numberOfObjects", NumberOfObjects.ExportYAML()); return(node); }