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

    Function updateAnimation

    • Update animation state

      Advances animation time and returns current interpolated keyframe. Handles looping animations automatically.

      Parameters

      • animation: SkeletalAnimation

        Skeletal animation

      • currentTime: number

        Current time in animation

      • deltaTime: number

        Time since last update (seconds)

      • playbackSpeed: number = 1.0

        Speed multiplier (1.0 = normal)

      Returns { completed: boolean; keyframe: AnimationKeyframe; time: number }

      Updated time and current keyframe

      애니메이션상태업데이트