On this page
folder
Constants
Anima addon constants
https://github.com/ceceppa/anima/blob/main/addons/anima/core/constants.gd
Easings
enum EASING {
LINEAR,
EASE,
EASE_IN_OUT,
EASE_IN,
EASE_OUT,
EASE_IN_SINE,
EASE_OUT_SINE,
EASE_IN_OUT_SINE,
EASE_IN_QUAD,
EASE_OUT_QUAD,
EASE_IN_OUT_QUAD,
EASE_IN_CUBIC,
EASE_OUT_CUBIC,
EASE_IN_OUT_CUBIC,
EASE_IN_QUART,
EASE_OUT_QUART,
EASE_IN_OUT_QUART,
EASE_IN_QUINT,
EASE_OUT_QUINT,
EASE_IN_OUT_QUINT,
EASE_IN_EXPO,
EASE_OUT_EXPO,
EASE_IN_OUT_EXPO,
EASE_IN_CIRC,
EASE_OUT_CIRC,
EASE_IN_OUT_CIRC,
EASE_IN_BACK,
EASE_OUT_BACK,
EASE_IN_OUT_BACK,
EASE_IN_ELASTIC,
EASE_OUT_ELASTIC,
EASE_IN_OUT_ELASTIC,
EASE_IN_BOUNCE,
EASE_OUT_BOUNCE,
EASE_IN_OUT_BOUNCE,
}
PIVOT Points
enum PIVOT {
TOP_LEFT,
TOP_CENTER,
TOP_RIGHT,
CENTER_LEFT,
CENTER,
CENTER_RIGHT,
BOTTOM_LEFT,
BOTTOM_CENTER,
BOTTOM_RIGHT
}
Visibility strategies
enum VISIBILITY {
IGNORE,
HIDDEN_ONLY,
TRANSPARENT_ONLY,
HIDDEN_AND_TRANSPARENT
}
Grid
Animation types
enum GRID {
TOGETHER,
SEQUENCE_TOP_LEFT,
SEQUENCE_BOTTOM_RIGHT,
COLUMNS_ODD,
COLUMNS_EVEN,
ROWS_ODD,
ROWS_EVEN,
ODD_ITEMS,
EVEN_ITEMS,
FROM_CENTER,
FROM_POINT,
RANDOM
}
Distance
enum DISTANCE {
EUCLIDIAN,
MANHATTAN,
CHEBYSHEV,
COLUMN,
ROW,
DIAGONAL,
}
Group animations type
const GROUP := {
FROM_TOP = GRID.SEQUENCE_TOP_LEFT,
FROM_BOTTOM = GRID.SEQUENCE_BOTTOM_RIGHT,
FROM_CENTER = GRID.FROM_CENTER,
ODDS_ONLY = GRID.COLUMNS_ODD,
EVEN_ONLY = GRID.COLUMNS_EVEN,
RANDOM = GRID.RANDOM,
TOGETHER = GRID.TOGETHER,
FROM_INDEX = GRID.FROM_POINT
}
Loop strategies
enum LOOP_STRATEGY {
USE_EXISTING_RELATIVE_DATA,
RECALCULATE_RELATIVE_DATA,
}
Apply initial values
enum APPLY_INITIAL_VALUES {
ON_ANIMATION_CREATION,
ON_PLAY
}
Other constants
const DEFAULT_DURATION := 0.7
const DEFAULT_ITEMS_DELAY := 0.05
const MINIMUM_DURATION := 0.000001