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

    Interface UsePlayerAnimationOptions

    Options for usePlayerAnimation hook

    플레이어애니메이션훅옵션

    interface UsePlayerAnimationOptions {
        customConfigs?: Map<AnimationState, AnimationConfig>;
        events?: AnimationEvents;
        initialState?: AnimationState;
    }
    Index

    Properties

    customConfigs?: Map<AnimationState, AnimationConfig>

    Custom animation configurations If not provided, uses DEFAULT_ANIMATION_CONFIGS

    커스텀애니메이션설정

    Animation event callbacks

    IMPORTANT: The events object should be stable (memoized) to prevent unnecessary re-initialization of the animation system. Changes to event callbacks after the hook is initialized will NOT be reflected in the animation system. Use useMemo or define events outside the component to ensure stability.

    이벤트콜백

    initialState?: AnimationState

    Initial animation state (defaults to "idle")

    초기상태