Class RenderingUtil.SpecialFX

java.lang.Object
org.boxutil.util.RenderingUtil.SpecialFX
Enclosing class:
RenderingUtil

public static final class RenderingUtil.SpecialFX extends Object
  • Method Details

    • addDefaultDistortion

      @Nullable public static Instance2Data addDefaultDistortion(boolean isCampaign, float maximumDurationTime)
      All inner parameter was 1.0f, and 0.0f power for in and out stage.
      Parameters:
      maximumDurationTime - Required, the total value about fadeIn + full + fadeOut time.
      Returns:
      null when failed, and don't store it, just setting the parameter it when get it.
    • addImpactDistortion

      @Nullable public static Instance2Data addImpactDistortion(boolean isCampaign, float maximumDurationTime)
      Parameters:
      maximumDurationTime - Required, the total value about fadeIn + full + fadeOut time.
      Returns:
      null when failed, and don't store it, just setting the parameter it when get it.
    • addSmoothFlare

      @Nullable public static Instance2Data addSmoothFlare(boolean isCampaign, float maximumDurationTime)
      Parameters:
      maximumDurationTime - Required, the total value about fadeIn + full + fadeOut time.
      Returns:
      null when failed, and don't store it, just setting the parameter it when get it.
    • addSharpFlare

      @Nullable public static Instance2Data addSharpFlare(boolean isCampaign, float maximumDurationTime)
      Parameters:
      maximumDurationTime - Required, the total value about fadeIn + full + fadeOut time.
      Returns:
      null when failed, and don't store it, just setting the parameter it when get it.