Summary description for ColorInterpolatorAffector.
Inheritance: Axiom.ParticleSystems.ParticleAffector
Exemplo n.º 1
0
            public string Get(object target)
            {
                ColorInterpolatorAffector affector = target as ColorInterpolatorAffector;

                // TODO: Common way for writing color.
                return(StringConverter.ToString(affector.colorAdj[2]));
            }
Exemplo n.º 2
0
            public void Set(object target, string val)
            {
                ColorInterpolatorAffector affector = target as ColorInterpolatorAffector;

                affector.timeAdj[5] = StringConverter.ParseFloat(val);
            }
Exemplo n.º 3
0
            public string Get(object target)
            {
                ColorInterpolatorAffector affector = target as ColorInterpolatorAffector;

                return(StringConverter.ToString(affector.timeAdj[5]));
            }
Exemplo n.º 4
0
            public void Set(object target, string val)
            {
                ColorInterpolatorAffector affector = target as ColorInterpolatorAffector;

                affector.colorAdj[4] = StringConverter.ParseColor(val);
            }