Package org.boxutil.util
Class RenderingUtil.SpecialFX
java.lang.Object
org.boxutil.util.RenderingUtil.SpecialFX
- Enclosing class:
- RenderingUtil
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Instance2DataaddDefaultDistortion(boolean isCampaign, float maximumDurationTime) All inner parameter was1.0f, and0.0fpower for in and out stage.static Instance2DataaddImpactDistortion(boolean isCampaign, float maximumDurationTime) static Instance2DataaddSharpFlare(boolean isCampaign, float maximumDurationTime) static Instance2DataaddSmoothFlare(boolean isCampaign, float maximumDurationTime)
-
Method Details
-
addDefaultDistortion
@Nullable public static Instance2Data addDefaultDistortion(boolean isCampaign, float maximumDurationTime) All inner parameter was1.0f, and0.0fpower for in and out stage.- Parameters:
maximumDurationTime- Required, the total value aboutfadeIn + full + fadeOuttime.- Returns:
nullwhen 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 aboutfadeIn + full + fadeOuttime.- Returns:
nullwhen failed, and don't store it, just setting the parameter it when get it.
-
addSmoothFlare
- Parameters:
maximumDurationTime- Required, the total value aboutfadeIn + full + fadeOuttime.- Returns:
nullwhen failed, and don't store it, just setting the parameter it when get it.
-
addSharpFlare
- Parameters:
maximumDurationTime- Required, the total value aboutfadeIn + full + fadeOuttime.- Returns:
nullwhen failed, and don't store it, just setting the parameter it when get it.
-