protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container) { YAMLMappingNode node = base.ExportYAMLRoot(container); node.AddSerializedVersion(ToSerializedVersion(container.ExportVersion)); node.Add(ShapeName, (int)Shape); node.Add(ExtentsName, Extents.ExportYAML(container)); node.Add(MoveThresholdName, GetMoveThreshold(container.Version)); node.Add(CarveName, Carve); node.Add(CarveOnlyStationaryName, GetCarveOnlyStationary(container.Version)); node.Add(CenterName, Center.ExportYAML(container)); node.Add(TimeToStationaryName, GetTimeToStationary(container.Version)); return(node); }