Black Trigram (흑괘) - Korean Martial Arts Combat Simulator API - v0.7.9
    Preparing search index...
    InstancableBoxes: React.FC<InstancableBoxesProps> = ...

    Instanced boxes component

    Renders multiple boxes with a single draw call. Useful for environment objects, obstacles, UI elements.

    Important: The instances array should be stable (use useMemo). Array indices are used as React keys, so adding/removing/reordering instances during component lifecycle may cause incorrect rendering. If instances need to be dynamic, consider using unique identifiers as keys.

    <InstancableBoxes
    instances={[
    { position: [0, 0, 0], scale: 1 },
    { position: [2, 0, 0], scale: 1.5 },
    ]}
    size={[1, 1, 1]}
    color={0x404040}
    />