Exemple #1
0
        public YAMLNode ExportYAML(IExportContainer container)
        {
            YAMLMappingNode node = new YAMLMappingNode();

            node.Add(ProbeOcclusionLightIndexName, ProbeOcclusionLightIndex.ExportYAML(true));
            node.Add(OcclusionName, Occlusion.ExportYAML());
            node.Add(OcclusionMaskChannelName, OcclusionMaskChannel.ExportYAML());
            return(node);
        }
Exemple #2
0
        public YAMLNode ExportYAML(IAssetsExporter exporter)
        {
            YAMLMappingNode node = new YAMLMappingNode();

            node.Add("m_ProbeOcclusionLightIndex", ProbeOcclusionLightIndex.ExportYAML(true));
            node.Add("m_Occlusion", Occlusion.ExportYAML());
            node.Add("m_OcclusionMaskChannel", OcclusionMaskChannel.ExportYAML());
            return(node);
        }