Ejemplo n.º 1
0
        /// <summary>
        /// Default constructor which also registers the fields required by this updater
        /// </summary>
        public UpdaterColorOverTime()
        {
            RequiredFields.Add(ParticleFields.Color);

            var curve = new ComputeAnimationCurveColor4();
            SamplerMain.Curve = curve;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Default constructor which also registers the fields required by this updater
        /// </summary>
        public UpdaterColorOverTime()
        {
            RequiredFields.Add(ParticleFields.Color);

            var curve = new ComputeAnimationCurveColor4();

            SamplerMain.Curve = curve;
        }