Implementation
@visibleForTesting
RT_AnimationCurve get coreValue => switch (this) {
linear => RT_AnimationCurve.RT_AnimationCurve_linear,
easeInQuad => RT_AnimationCurve.RT_AnimationCurve_easeInQuad,
easeOutQuad => RT_AnimationCurve.RT_AnimationCurve_easeOutQuad,
easeInOutQuad => RT_AnimationCurve.RT_AnimationCurve_easeInOutQuad,
easeInCubic => RT_AnimationCurve.RT_AnimationCurve_easeInCubic,
easeOutCubic => RT_AnimationCurve.RT_AnimationCurve_easeOutCubic,
easeInOutCubic => RT_AnimationCurve.RT_AnimationCurve_easeInOutCubic,
easeInQuart => RT_AnimationCurve.RT_AnimationCurve_easeInQuart,
easeOutQuart => RT_AnimationCurve.RT_AnimationCurve_easeOutQuart,
easeInOutQuart => RT_AnimationCurve.RT_AnimationCurve_easeInOutQuart,
easeInQuint => RT_AnimationCurve.RT_AnimationCurve_easeInQuint,
easeOutQuint => RT_AnimationCurve.RT_AnimationCurve_easeOutQuint,
easeInOutQuint => RT_AnimationCurve.RT_AnimationCurve_easeInOutQuint,
easeInSine => RT_AnimationCurve.RT_AnimationCurve_easeInSine,
easeOutSine => RT_AnimationCurve.RT_AnimationCurve_easeOutSine,
easeInOutSine => RT_AnimationCurve.RT_AnimationCurve_easeInOutSine,
easeInExpo => RT_AnimationCurve.RT_AnimationCurve_easeInExpo,
easeOutExpo => RT_AnimationCurve.RT_AnimationCurve_easeOutExpo,
easeInOutExpo => RT_AnimationCurve.RT_AnimationCurve_easeInOutExpo,
easeInCirc => RT_AnimationCurve.RT_AnimationCurve_easeInCirc,
easeOutCirc => RT_AnimationCurve.RT_AnimationCurve_easeOutCirc,
easeInOutCirc => RT_AnimationCurve.RT_AnimationCurve_easeInOutCirc,
};