/// <summary>
        /// Gets a new <see cref="DistortionLens" />.
        /// </summary>
        /// <param name="normalTexturePath">Texture use to apply the distortion effect.</param>
        /// <returns>
        /// A instance of DistortionLens.
        /// </returns>
        public static DistortionLens Distortion(string normalTexturePath = null)
        {
            DistortionLens distortion = new DistortionLens(normalTexturePath);

            return distortion;
        }
示例#2
0
        /// <summary>
        /// Gets a new <see cref="DistortionLens" />.
        /// </summary>
        /// <param name="normalTexturePath">Texture use to apply the distortion effect.</param>
        /// <returns>
        /// A instance of DistortionLens.
        /// </returns>
        public static DistortionLens Distortion(string normalTexturePath = null)
        {
            DistortionLens distortion = new DistortionLens(normalTexturePath);

            return(distortion);
        }