import BaseInteraction from '@/core/base/BaseInteraction.ts' import * as THREE from 'three' export default class RackInteraction extends BaseInteraction { get isSinglePointMode(): boolean { return true } constructor(itemTypeName: string) { super(itemTypeName) } createPointOfItem(item: ItemJson, point: THREE.Vector3): ItemJson { item = super.createPointOfItem(item, point) // 创建一个地堆货架 item.dt.storeWidth = 1.2 // 宽度 item.dt.storeDepth = 1.2 // 深度 return item } }