Black Trigram (흑괘) - Korean Martial Arts Combat Simulator API - v0.7.0
    Preparing search index...

    Interface AnimationEvents

    Animation event callback types

    애니메이션이벤트

    interface AnimationEvents {
        onAnimationComplete?: (state: AnimationState) => void;
        onAnimationInterrupted?: (
            fromState: AnimationState,
            toState: AnimationState,
        ) => void;
        onAnimationStart?: (state: AnimationState) => void;
        onFrame?: (frame: number, state: AnimationState) => void;
    }
    Index

    Properties

    onAnimationComplete?: (state: AnimationState) => void

    Called when animation completes

    완료이벤트

    onAnimationInterrupted?: (
        fromState: AnimationState,
        toState: AnimationState,
    ) => void

    Called when animation is interrupted

    중단이벤트

    onAnimationStart?: (state: AnimationState) => void

    Called when animation starts

    시작이벤트

    onFrame?: (frame: number, state: AnimationState) => void

    Called on specific frame numbers

    프레임이벤트