示例#1
0
        protected override void createProperties() {
            base.createProperties();

            Property p = new PropertyInt(4, 2, 16, "Chunk size to use");
            p.eValueChanged += P_eValueChanged;
            properties["chunkSize"] = p;
        }
示例#2
0
        protected override void createProperties() {
            base.createProperties();

            Property p = new PropertyInt(7, 0, 7, "Vector search radius");
            p.eValueChanged += (sender, e) => { soil(); };
            properties.Add("radius", p);

            properties.Add("inChannelsPast", new PropertyChannels(true, false));
            properties.Add("inChannelsNow",  new PropertyChannels(true, false));
            properties.Add("outVectors",    new PropertyVectors(false, true));
            properties.Add("outChannels",   new PropertyChannels(false, true));
        }
示例#3
0
文件: DCT.cs 项目: JoePelz/NodeShop
        protected override void createProperties() {
            base.createProperties();

            Property p = new PropertyCheckbox("Inverse");
            p.eValueChanged += P_eValueChanged; ;
            properties["isInverse"] = p;

            p = new PropertyInt(50, 10, 100, "Quantization quality (%)");
            p.eValueChanged += (prop, b) => { soil(); };
            properties["quality"] = p;
        }