Пример #1
0
        /// <summary>
        /// Floors the reflection.
        /// </summary>
        /// <param name="alphaStartValue">The alpha start value.</param>
        /// <param name="alphaDecreaseRate">The alpha decrease rate.</param>
        /// <returns></returns>
        public Pipeline FloorReflection(float alphaStartValue, float alphaDecreaseRate)
        {
            FloorReflectionFilter filter = new FloorReflectionFilter();

            filter.AlphaStartValue   = alphaStartValue;
            filter.AlphaDecreaseRate = alphaDecreaseRate;
            _image = filter.ExecuteFilter(_image);
            return(this);
        }
Пример #2
0
 /// <summary>
 /// Floors the reflection.
 /// </summary>
 /// <param name="alphaStartValue">The alpha start value.</param>
 /// <param name="alphaDecreaseRate">The alpha decrease rate.</param>
 /// <returns></returns>
 public Pipeline FloorReflection(float alphaStartValue, float alphaDecreaseRate)
 {
     FloorReflectionFilter filter = new FloorReflectionFilter();
     filter.AlphaStartValue = alphaStartValue;
     filter.AlphaDecreaseRate = alphaDecreaseRate;
     _image = filter.ExecuteFilter(_image);
     return this;
 }