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

    Interface Player3DUnifiedProps

    Unified props for Player3D visual component.

    This interface provides all properties needed to render a player in both combat and training contexts with full state visualization.

    플레이어3D속성

    interface Player3DUnifiedProps {
        archetype: PlayerArchetype;
        balance: BalanceState;
        bloodLoss?: number;
        bodyFacing?: BodyFacing;
        consciousness: number;
        currentAnimation: PlayerAnimation;
        enableEyeTracking?: boolean;
        enableFacialExpressions?: boolean;
        facialDamage?: FacialDamageState;
        facialExpression?: FacialExpression;
        facing?: "left" | "right";
        health: number;
        isBlocking: boolean;
        isCountering?: boolean;
        isMobile: boolean;
        isStunned?: boolean;
        ki: number;
        laterality?: "left" | "right";
        maxHealth: number;
        name?: { english: string; korean: string };
        onAnimationComplete?: () => void;
        onBodyFacingUpdate?: (bodyFacing: BodyFacing) => void;
        opponentPosition?: [number, number, number];
        pain: number;
        playerId: string;
        position: [number, number, number];
        rotation: number;
        scale?: number;
        showDetails?: boolean;
        showHealthBar?: boolean;
        showStanceIndicator?: boolean;
        stamina: number;
        stance: TrigramStance;
    }
    Index

    Properties

    archetype: PlayerArchetype

    Player archetype determining visual style and theming

    원형

    balance: BalanceState

    Balance/stability state in combat

    균형상태

    bloodLoss?: number

    Blood loss amount (0-100) Optional since not all game modes track blood loss

    출혈

    bodyFacing?: BodyFacing

    Body facing state for automatic opponent tracking (optional)

    몸향하기상태

    consciousness: number

    Consciousness level (0-100)

    의식

    currentAnimation: PlayerAnimation

    Current animation state

    현재애니메이션

    enableEyeTracking?: boolean

    Whether to enable eye tracking (opt-in, default: false)

    눈추적사용

    enableFacialExpressions?: boolean

    Whether to enable facial expressions (opt-in, default: false)

    표정사용

    facialDamage?: FacialDamageState

    Facial damage state (optional, defaults to no damage)

    얼굴손상

    facialExpression?: FacialExpression

    Current facial expression (optional, auto-calculated if not provided)

    얼굴표정

    facing?: "left" | "right"

    Direction the player is facing

    방향

    health: number

    Current health points (0-maxHealth)

    건강

    isBlocking: boolean

    Whether player is currently blocking

    방어중

    isCountering?: boolean

    Whether player is countering

    반격중

    isMobile: boolean

    Whether rendering for mobile device (affects scaling and detail)

    모바일여부

    isStunned?: boolean

    Whether player is stunned

    기절

    ki: number

    Current Ki/energy points (0-100)

    laterality?: "left" | "right"

    Stance laterality (left or right foot forward)

    측면성

    maxHealth: number

    Maximum health points

    최대건강

    name?: { english: string; korean: string }

    Player display name (Korean and English)

    이름

    onAnimationComplete?: () => void

    Callback when animation completes

    애니메이션완료콜백

    onBodyFacingUpdate?: (bodyFacing: BodyFacing) => void

    Callback to update body facing state

    몸향하기업데이트콜백

    opponentPosition?: [number, number, number]

    Opponent position for eye tracking (optional)

    상대위치

    pain: number

    Pain level affecting balance and performance (0-100)

    통증

    playerId: string

    Unique identifier for the player

    플레이어ID

    position: [number, number, number]

    3D world position [x, y, z]

    위치

    rotation: number

    Rotation in radians (Y-axis)

    회전

    scale?: number

    Scale multiplier for the model (default: 1)

    크기

    showDetails?: boolean

    Whether to show Html overlay with stats

    세부정보표시

    showHealthBar?: boolean

    Whether to show health bar

    체력바표시

    showStanceIndicator?: boolean

    Whether to show stance indicator

    자세표시기표시

    stamina: number

    Current stamina points (0-100)

    체력

    Current trigram stance (1 of 8)

    현재자세