Properties
Optional
cancelHighlight
cancelHighlight?: "none" | "clickOtherPosition" | "clickOtherEntity" | "inherit"
Optional
cancelSelectMode
cancelSelectMode?: "none" | "clickOtherPosition" | "clickOtherEntity" | "inherit"
Optional
clickCallback
clickCallback?: ((entity, isClick) => void)
Type declaration
- (entity, isClick): void
Returns void
Optional
clickHighlight
clickHighlight?: boolean
Optional
clickHtmlText
clickHtmlText?: string | ((ent) => Promise<string>)
Type declaration
- (ent): Promise<string>
Returns Promise<string>
Optional
clickSelect
clickSelect?: boolean
Optional
enableWhenActiveTool
enableWhenActiveTool?: boolean
Optional
highlightColor
highlightColor?: ColorRepresentation
Optional
highlightOpacity
highlightOpacity?: number
Optional
highlightUseBoxHelper
highlightUseBoxHelper?: boolean
Optional
hoverCallback
hoverCallback?: ((entity, isHover) => void)
Type declaration
- (entity, isHover): void
Returns void
Optional
hoverHighlight
hoverHighlight?: boolean
Optional
hoverHtmlText
hoverHtmlText?: string | ((ent) => Promise<string>)
Type declaration
- (ent): Promise<string>
Returns Promise<string>
Optional
hoverSelect
hoverSelect?: boolean
Optional
onAdd
onAdd?: ((parent, self) => void)
Type declaration
- (parent, self): void
Returns void
Optional
onBeforeAdd
onBeforeAdd?: ((parent, self) => void)
Type declaration
- (parent, self): void
Returns void
Optional
onBeforeRemove
onBeforeRemove?: ((self) => void)
Optional
onKeyDown
onKeyDown?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onKeyUp
onKeyUp?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onMouseClick
onMouseClick?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onMouseDblClick
onMouseDblClick?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onMouseDown
onMouseDown?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onMouseEnter
onMouseEnter?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onMouseLeave
onMouseLeave?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onMouseMove
onMouseMove?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onMouseOut
onMouseOut?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onMouseOver
onMouseOver?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onMouseUp
onMouseUp?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onMouseWheel
onMouseWheel?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onPointerDown
onPointerDown?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onPointerMove
onPointerMove?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onPointerUp
onPointerUp?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onRayIntersect
onRayIntersect?: ((event, object) => void)
Type declaration
- (event, object): void
Returns void
Optional
onRemove
onRemove?: ((self) => void)
Optional
popupAsEntityChild
popupAsEntityChild?: boolean
Optional
popupCallback
popupCallback?: ((entity,
popup,
isHover) => Object3D<Object3DEventMap> | Entity) Type declaration
Returns Object3D<Object3DEventMap> | Entity
事件选项