DragHandler
Extends:
Constructor Summary
| Public Constructor | ||
| public |
constructor(sketcher: *, name: *) |
|
Member Summary
| Public Members | ||
| public get |
displacement: * |
|
| public |
dragFrom: * |
|
| public |
dragTo: * |
|
| public |
draggedObjects: *[] |
|
| public |
draggedPoint: * |
|
| public |
mucPromise: * |
|
| public |
snapper: * |
|
Method Summary
| Public Methods | ||
| public |
[Object3.Events.Interaction.Clicked](object: *, hitObject: *) |
|
| public |
[Object3.Events.Interaction.Dragged](object: *, hitObject: *) |
|
| public |
async [Object3.Events.Interaction.Dropped](object: *, hitObject: *) |
|
| public |
[Object3.Events.Interaction.Missed](object: *, hitObject: *) |
|
| public |
[Object3.Events.Interaction.Picked](object: *, hitObject: *) |
|
| public |
filterObjectsWithInteraction(object: *): * |
|
| public |
async startMuc() |
|
Inherited Summary
| From class BaseHandler | ||
| public |
|
|
| public |
interactions: * |
|
| public |
name: * |
|
| public |
onMouseMove: * |
|
| public |
sketch: * |
|
| public |
sketcher: * |
|
| public |
addInteraction(object: *) |
|
| public |
|
|
| public |
cancel() |
|
| public |
consoleComplete(cmd: *): * |
|
| public |
consoleExecute(cmd: *): boolean |
|
| public |
createSnapper(): * |
|
| public |
destroy(options: *) |
|
| public |
filterObjectsWithInteraction(object: *): boolean |
|
| public |
|
|
| public |
onKeyDown(event: *) |
|
| public |
onKeyUp(event: *) |
|
| public |
parseRestrictions(cmd: *) |
|
| public |
removeInteraction(object: *) |
|
| public |
|
|
| From class HoverHandler | ||
| public |
[Object3.Events.Interaction.Hovered](object: *, hitObject: *) |
|
| public |
[Object3.Events.Interaction.Unhovered](object: *, hitObject: *) |
|
| public |
destroy() |
|
Public Constructors
public constructor(sketcher: *, name: *) source
Override:
HoverHandler#constructorParams:
| Name | Type | Attribute | Description |
| sketcher | * | ||
| name | * |
Public Members
public get displacement: * source
public dragFrom: * source
public dragTo: * source
public draggedObjects: *[] source
public draggedPoint: * source
public mucPromise: * source
public snapper: * source
Public Methods
public [Object3.Events.Interaction.Clicked](object: *, hitObject: *) source
Params:
| Name | Type | Attribute | Description |
| object | * | ||
| hitObject | * |
public [Object3.Events.Interaction.Dragged](object: *, hitObject: *) source
Params:
| Name | Type | Attribute | Description |
| object | * | ||
| hitObject | * |
public async [Object3.Events.Interaction.Dropped](object: *, hitObject: *) source
Params:
| Name | Type | Attribute | Description |
| object | * | ||
| hitObject | * |
public [Object3.Events.Interaction.Missed](object: *, hitObject: *) source
Params:
| Name | Type | Attribute | Description |
| object | * | ||
| hitObject | * |
public [Object3.Events.Interaction.Picked](object: *, hitObject: *) source
Params:
| Name | Type | Attribute | Description |
| object | * | ||
| hitObject | * |
public filterObjectsWithInteraction(object: *): * source
Params:
| Name | Type | Attribute | Description |
| object | * |
Return:
| * |