Exemple #1
0
        protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container)
        {
            YAMLMappingNode node = base.ExportYAMLRoot(container);

            node.Add("m_Childs", Childs.ExportYAML(container));
            node.Add("m_BlendParameter", BlendParameter);
            node.Add("m_BlendParameterY", BlendParameterY);
            node.Add("m_MinThreshold", MinThreshold);
            node.Add("m_MaxThreshold", MaxThreshold);
            node.Add("m_UseAutomaticThresholds", UseAutomaticThresholds);
            node.Add("m_NormalizedBlendValues", NormalizedBlendValues);
            node.Add("m_BlendType", (int)BlendType);
            return(node);
        }
Exemple #2
0
        protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container)
        {
            YAMLMappingNode node = base.ExportYAMLRoot(container);

            node.Add(ChildsName, Childs.ExportYAML(container));
            node.Add(BlendParameterName, BlendParameter);
            node.Add(BlendParameterYName, BlendParameterY);
            node.Add(MinThresholdName, MinThreshold);
            node.Add(MaxThresholdName, MaxThreshold);
            node.Add(UseAutomaticThresholdsName, UseAutomaticThresholds);
            node.Add(NormalizedBlendValuesName, NormalizedBlendValues);
            node.Add(BlendTypeName, (int)BlendType);
            return(node);
        }