Properties
Optional
autoFocus
autoFocus?: boolean
Optional
dblClickExitEdit
dblClickExitEdit?: boolean
Optional
drawLayerName
drawLayerName?: string
Optional
editIndex
editIndex?: number
Optional
editShowVertex
editShowVertex?: boolean
Optional
onBeforeDeleteEntity
onBeforeDeleteEntity?: ((entity, data) => boolean)
Type declaration
- (entity, data): boolean
Returns boolean
Optional
onBeforeMoveEntity
onBeforeMoveEntity?: ((entity, data, offset) => boolean)
Type declaration
- (entity, data, offset): boolean
Parameters
data: any
offset: {
dx: number;
dy: number;
dz: number;
}
dx: number
dy: number
dz: number
Returns boolean
Optional
onBeforeMoveVertex
onBeforeMoveVertex?: ((entity, data, newPoint, entIndex, ptIndex) => boolean)
Type declaration
- (entity, data, newPoint, entIndex, ptIndex): boolean
Parameters
data: any
newPoint: Vector3
entIndex: number
ptIndex: number
Returns boolean
Optional
onBeforeSelectEntity
onBeforeSelectEntity?: ((info) => boolean)
Type declaration
- (info): boolean
Returns boolean
Optional
onBeginEditEntity
onBeginEditEntity?: ((entity, entIndex?, faceIndex?) => void)
Type declaration
- (entity, entIndex?, faceIndex?): void
Parameters
Optional
entIndex: number
Optional
faceIndex: number
Returns void
Optional
onComplete
onComplete?: ((info, from) => void)
Type declaration
- (info, from): void
Returns void
Optional
onContextMenu
onContextMenu?: ((info, context) => void)
Type declaration
Parameters
context: {
complete: (() => void);
}
Returns void
Optional
onDeleteEntity
onDeleteEntity?: ((entity, data, context) => void)
Type declaration
- (entity, data, context): void
Parameters
data: any
context: {
complete: (() => void);
}
Returns void
Optional
onKeyUp
onKeyUp?: ((info, context) => void)
Type declaration
- (info, context): void
Parameters
context: {
complete: (() => void);
}
Returns void
Optional
onMoveEntity
onMoveEntity?: ((entity, data, offset, context) => void)
Type declaration
- (entity, data, offset, context): void
Parameters
data: any
offset: {
dx: number;
dy: number;
dz: number;
}
dx: number
dy: number
dz: number
context: {
complete: (() => void);
}
Returns void
Optional
onMoveVertex
onMoveVertex?: ((entity, data, newPoint, entIndex, ptIndex, context) => void)
Type declaration
- (entity, data, newPoint, entIndex, ptIndex, context): void
Parameters
data: any
newPoint: Vector3
entIndex: number
ptIndex: number
context: {
complete: (() => void);
}
Returns void
Optional
onUnEditEntity
onUnEditEntity?: ((entity, context) => void)
Type declaration
- (entity, context): void
Parameters
context: {
complete: (() => void);
}
Returns void
Optional
useTransformControl
useTransformControl?: boolean
Optional
useVertTransformControl
useVertTransformControl?: boolean
进入时使div元素自动获取焦点(能响应键盘事件) 默认是