protected override YAMLMappingNode ExportYAMLRoot(IAssetsExporter exporter) { YAMLMappingNode node = base.ExportYAMLRoot(exporter); node.Add("m_PVSData", PVSData.ExportYAML()); node.Add("m_Scenes", Scenes.ExportYAML(exporter)); node.Add("m_StaticRenderers", IsReadStaticRenderers(exporter.Platform) ? StaticRenderers.ExportYAML(exporter) : YAMLSequenceNode.Empty); node.Add("m_Portals", IsReadStaticRenderers(exporter.Platform) ? Portals.ExportYAML(exporter) : YAMLSequenceNode.Empty); return(node); }
protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container) { YAMLMappingNode node = base.ExportYAMLRoot(container); node.Add("m_PVSData", PVSData.ExportYAML()); node.Add("m_Scenes", Scenes.ExportYAML(container)); node.Add("m_StaticRenderers", StaticRenderers.ExportYAML(container)); node.Add("m_Portals", Portals.ExportYAML(container)); return(node); }
protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container) { YAMLMappingNode node = base.ExportYAMLRoot(container); node.Add(PVSDataName, PVSData.ExportYAML()); node.Add(ScenesName, Scenes.ExportYAML(container)); SetExportData(container); node.Add(StaticRenderersName, StaticRenderers.ExportYAML(container)); node.Add(PortalsName, Portals.ExportYAML(container)); return(node); }