Class GuiAnimations
java.lang.Object
com.render.api.gui.GuiAnimations
Small library of reusable keyframe presets.
-
Method Summary
Modifier and TypeMethodDescriptionstatic GuiKeyframesbreathe(float minOpacity, float maxOpacity, double durationSeconds) static GuiKeyframesfade(float fromOpacity, float toOpacity, double durationSeconds) static GuiKeyframespulse(float minOpacity, float maxOpacity, double durationSeconds) static GuiKeyframesscalePop(float fromWidth, float fromHeight, float toWidth, float toHeight, double durationSeconds) static GuiKeyframesshimmer(float startAngle, float endAngle, int startArgb, int endArgb, double durationSeconds) Deprecated.static GuiKeyframesshimmer(float startAngle, float endAngle, RenderColor startColor, RenderColor endColor, double durationSeconds) static GuiKeyframesslideX(float fromX, float toX, double durationSeconds) static GuiKeyframesslideY(float fromY, float toY, double durationSeconds)
-
Method Details
-
fade
-
slideX
-
slideY
-
scalePop
public static GuiKeyframes scalePop(float fromWidth, float fromHeight, float toWidth, float toHeight, double durationSeconds) -
pulse
-
breathe
-
shimmer
public static GuiKeyframes shimmer(float startAngle, float endAngle, RenderColor startColor, RenderColor endColor, double durationSeconds) -
shimmer
@Deprecated(forRemoval=false) public static GuiKeyframes shimmer(float startAngle, float endAngle, int startArgb, int endArgb, double durationSeconds) Deprecated.
-
shimmer(float, float, RenderColor, RenderColor, double).