EPOK RUNTIME
epok::Tween
Class
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Class
Value tween: the project applies its output to any property.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "utility.hpp"
epok::Tween& value = /* obtain a valid instance from your game */;Public methods
advanceWhole completed legs are counted by one division, so a long delta cannot spin here and an unbounded ping-pong keeps the correct leg parity.MethodalphaThe eased interpolation parameter.MethodcancelPerforms `cancel` as part of the utility module.Methodcompletion_pendingPerforms `completion pending` as part of the utility module.Methodcycles_remainingPerforms `cycles remaining` as part of the utility module.Methoddelay_valuePerforms `delay value` as part of the utility module.Methodduration_valuePerforms `duration value` as part of the utility module.Methodease_kindPerforms `ease kind` as part of the utility module.Methodelapsed_valuePerforms `elapsed value` as part of the utility module.Methodend_valueEnds value as part of the utility module.Methodloop_modePerforms `loop mode` as part of the utility module.MethodplayingStarts ing as part of the utility module.MethodratioPerforms `ratio` as part of the utility module.MethodrestorePerforms `restore` as part of the utility module.Methodreversed_legPerforms `reversed leg` as part of the utility module.Methodschedule`wait` holds the first leg back without shortening it.MethodstartStarts start as part of the utility module.Methodstart_valueStarts value as part of the utility module.Methodtake_completionPerforms `take completion` as part of the utility module.MethodvaluePerforms `value` as part of the utility module.Method