ReadonlycurrentCurrent frame index
ReadonlycurrentCurrent animation state
ReadonlygetGet current guard stance (if in guard animation)
Trigram stance or null
ReadonlyisCheck if currently in a stance guard animation
True if in any stance guard state
ReadonlyresetReset animation to idle state
ReadonlytransitionTransition to a new animation state
Target animation state
Whether transition was successful
ReadonlytransitionTransition to ATTACK state with technique-specific duration.
The default ATTACK config is 200ms (12 frames), but real techniques range from 350ms to 1200ms. This method overrides the duration so the state machine stays in ATTACK for the full technique animation.
The skeletal animation duration in seconds
Whether transition was successful
ReadonlytransitionTransition to stance_change animation with specific transition data
Korean: 자세 전환 애니메이션 시작
Initiates a stance change animation with the specific transition data from the 64-transition matrix. This provides stance-specific keyframes and blend weights for smooth interpolation.
Source trigram stance
Target trigram stance
Whether transition was successful
ReadonlytransitionTransition to stance-specific guard animation
Trigram stance
Whether transition was successful
ReadonlyupdateUpdate animation state (call in useFrame)
Time elapsed since last update in seconds
Animation update result
Return type for usePlayerAnimation hook
Korean
플레이어애니메이션훅반환타입