A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file index.ts
* @brief Animation module barrel export
*/
export {
EasingType,
applyEasing,
type BezierPoints,
} from './Easing';
export {
TweenState,
LoopMode,
type TweenOptions,
} from './TweenTypes';
export {
Tween,
TweenAPI,
TweenHandle,
TweenTarget,
} from './Tween';
export {
ValueTweenHandle,
ValueTweenManager,
} from './ValueTween';
export {
SpriteAnimator,
SpriteAnimation,
SpriteAnimationAPI,
type SpriteAnimatorData,
type SpriteAnimClip,
type SpriteAnimFrame,
type SpriteAnimEvent,
type SpriteAnimEventHandler,
} from './SpriteAnimator';
export {
Animator,
AnimatorController,
AnimatorControllerAPI,
registerAnimatorController,
getRegisteredAnimatorController,
clearAnimatorControllerStore,
evaluateAnimatorTransitions,
evaluateAnimatorPath,
enterStatePath,
leafStateOf,
animatorLayerCount,
animatorLayer,
animatorScopes,
layerState,
setLayerState,
ANIMATOR_FORMAT_VERSION,
resolveParams,
selectBlendClip,
motionOf,
STATE_PATH_SEP,
SPINE_MOTION,
type AnimatorData,
type AnimatorBlend1D,
type AnimatorBlendThreshold,
type AnimatorSpineMotion,
type AnimatorSubMachine,
type AnimatorScope,
type AnimatorLayer,
type AnimatorLayerBlend,
type SpineAnimationDriver,
type AnimatorParam,
type AnimatorParamType,
type AnimatorCondition,
type AnimatorTransition,
type AnimatorState,
type AnimatorControllerDef,
type AnimatorParamValues,
type AnimatorEvalResult,
type AnimatorPathEvalResult,
} from './Animator';
export {
GripPose, registerGripPose, gripPose, gripPoseNames, gripPoseStatus, gripPoseByJoint, gripPoseFromJson, gripHandJoints,
type GripPoseData, type GripPoseDef, type GripFinger, type GripThumb, type GripHandStatus, type GripJoint,
} from './gripPose';
export { GripSurface, GripSurfaceShape, gripSurfaceLines, type GripSurfaceData } from './gripContact';
export {
GripProfile, GripHolder, GripHand, GripPlacement, GripMirror, releaseGripHolds, registerFingerPose, fingerPose, captureFingerPose, gripHolderStatus, slerpQuat,
type GripProfileData, type GripHolderData, type FingerPoseDef,
} from './gripHold';
export {
emptyAnimatorController,
animatorEdges,
addState as addAnimatorState,
removeState as removeAnimatorState,
moveState as moveAnimatorState,
renameState as renameAnimatorState,
setInitial as setAnimatorInitial,
setStateClip as setAnimatorStateClip,
setStateMotion as setAnimatorStateMotion,
setStateProps as setAnimatorStateProps,
addTransition as addAnimatorTransition,
removeTransition as removeAnimatorTransition,
updateTransition as updateAnimatorTransition,
setConditions as setAnimatorConditions,
addLayer as addAnimatorLayer,
removeLayer as removeAnimatorLayer,
updateLayer as updateAnimatorLayer,
moveLayer as moveAnimatorLayer,
addIK as addAnimatorIK,
removeIK as removeAnimatorIK,
updateIK as updateAnimatorIK,
addParam as addAnimatorParam,
removeParam as removeAnimatorParam,
updateParam as updateAnimatorParam,
type AnimatorEdge,
} from './animatorGraph';
export {
AnimationPlugin,
animationPlugin,
} from './AnimationPlugin';
export {
TweenGroup,
TweenSequence,
TweenCompositionManager,
type Completable,
type TweenFactory,
} from './TweenGroup';
export {
parseAnimClipData,
parseAnimClipAsset,
serializeAnimClip,
createAnimClip,
createAnimClipFromTextures,
extractAnimClipTexturePaths,
animClipSheetCols,
animClipSheetRows,
animClipCellRect,
animClipCellUv,
animClipDrivesPivot,
animClipDrivesSize,
animClipFramePivot,
animClipFrameSize,
ANIM_CLIP_FORMAT_VERSION,
DEFAULT_ANIM_CLIP_PIVOT,
type AnimClipAssetData,
type AnimClipFrameData,
type AnimClipSheetData,
type AnimClipEventData,
type AnimClipPivotData,
type AnimClipVec2,
type AnimClipSizing,
} from './AnimClipLoader';
export {
parseAvatar,
emptyAvatar,
avatarResolver,
travelRatio,
AVATAR_FORMAT_VERSION,
type AnimatorAvatar,
type JointResolver,
} from './animatorAvatar';
export {
solveAnimatorIK,
type AnimatorIK,
type GroundContext,
type GroundHit,
type GroundProbe,
type AnimatorIKKind,
} from './animatorIK';
export {
MaskReach,
type AnimatorMask,
} from './animatorMask';
export {
migrateAnimatorController,
type AnimatorMigration,
} from './animatorMigrate';
export {
overlayPose,
addPoseOver,
type LayerReach,
} from './layerStack';
export {
MotionRegistry,
selectBlendStop,
blend1DPair,
blend1DMotionDriver,
blend2DMotionDriver,
blend2DWeights,
dominantBlendPoint,
isBlend1D,
isBlend2D,
type AnimatorMotion,
type AnimatorClipMotion,
type AnimatorBlend1DMotion,
type AnimatorBlend2DMotion,
type AnimatorBlendPoint,
type AnimatorBlendStop,
type Blend1DPair,
type MotionContext,
type MotionDriver,
type MotionParams,
type MotionSpan,
type MotionEvent,
type RootMotionDelta,
} from './motion';
export {
AnimatorEvent,
type AnimatorEventPayload,
type AnimatorEventSink,
} from './animatorEvent';
export {
AnimatorRootMotion,
type AnimatorRootMotionData,
} from './animatorRootMotion';
export {
SPRITE_MOTION,
spriteMotionDriver,
} from './spriteMotion';
export { Pose, type PoseTrack, type PoseWorld } from './pose';
export { mixPoses, type WeightedPose } from './poseMix';