/// <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; }
/// <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); }