Esempio n. 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;
        }
Esempio n. 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));
        }
Esempio n. 3
0
        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;
        }