优化
This commit is contained in:
7
index.js
7
index.js
@ -220,9 +220,10 @@ export const executeEvent = async (dropzone_data, result, sku) => {
|
||||
enable: true,
|
||||
axis: rotation.y === 0 || rotation.y === 180 ? 'x' : 'z',
|
||||
step: 0.1,
|
||||
boundaryConstraint: true, // 启用边界限制
|
||||
snapToZone: false, // 启用拖拽吸附到最近的分割区域
|
||||
onOccupiedZone: '' // 拖拽到已占用区域时的行为:'return' 返回原位置,'replace' 替换目标位置的模型(默认 'return') "" 允许重叠
|
||||
// snapToZone: true, // 开关1:拖拽吸附到最近的分割区域
|
||||
// returnWhenOutOfBounds: false, // 开关2:拖拽到区域外时返回原位置
|
||||
// handleOccupiedZone: true, // 开关3:处理已占用区域(false=允许重叠)
|
||||
// occupiedZoneAction: 'return' // 当开关3=true时的行为:'return'=返回原位置,'replace'=替换
|
||||
},
|
||||
transform: {
|
||||
position: position,
|
||||
|
||||
Reference in New Issue
Block a user