public YAMLNode ExportYAML(IAssetsExporter exporter)
        {
            YAMLMappingNode node = new YAMLMappingNode();

            node.Add("value", Value);
            node.Add("mode", (int)Mode);
            node.Add("spread", Spread);
            node.Add("speed", Speed.ExportYAML(exporter));
            return(node);
        }
示例#2
0
        public YAMLNode ExportYAML(IExportContainer container)
        {
            YAMLMappingNode node = new YAMLMappingNode();

            node.Add("value", Value);
            node.Add("mode", (int)Mode);
            node.Add("spread", Spread);
            node.Add("speed", Speed.ExportYAML(container));
            return(node);
        }
示例#3
0
        public YAMLNode ExportYAML(IExportContainer container)
        {
            YAMLMappingNode node = new YAMLMappingNode();

            node.Add(ValueName, Value);
            node.Add(ModeName, (int)Mode);
            node.Add(SpreadName, Spread);
            node.Add(SpeedName, Speed.ExportYAML(container));
            return(node);
        }