BreakpointState
Extends:
src/states/base-state~BaseState → BreakpointState
A state to interact with a breakpoint function, mimicing Max/MSP's breakpoint function interactions.
Constructor Summary
Public Constructor | ||
public |
constructor(timeline: *, datumGenerator: *) |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
enter() |
|
public |
exit() |
|
public |
handleEvent(e: *, hitLayers: *) |
|
public |
onMouseDown(e: *, hitLayers: *) |
|
public |
onMouseMove(e: *) |
|
public |
onMouseUp(e: *) |
Public Constructors
public constructor(timeline: *, datumGenerator: *) source
Params:
Name | Type | Attribute | Description |
timeline | * | ||
datumGenerator | * |
Public Members
public currentEditedLayer: * source
public currentTarget: * source
public datumGenerator: * source
Public Methods
public enter() source
public exit() source
public handleEvent(e: *, hitLayers: *) source
Params:
Name | Type | Attribute | Description |
e | * | ||
hitLayers | * |
public onMouseDown(e: *, hitLayers: *) source
Params:
Name | Type | Attribute | Description |
e | * | ||
hitLayers | * |
public onMouseMove(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onMouseUp(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |