SelectionEventData

lumin. SelectionEventData

An event sent whenever a prism is selected or deselected.

The deselection event for the currently selected prism will always
be sent before the selection event for a newly selected prism.

Only the currently selected prism receives input events.

Extends

Methods

getAffectedPrismId() → {number}

Returns the ID of the prism that has been selected or deselected.

Returns:

the ID of the affected prism

Type
number

getPrismId() → {number}

Inherited From:

Returns the Prism ID of the target Prism.

Returns:

the Prism ID of the target Prism.

Type
number

getSelectionEventType() → {lumin.SelectionEventType}

Returns the type of event (volume selected or deselected)

Returns:

the type of selection event

Type
lumin.SelectionEventType

isInputEventType() → {boolean}

Inherited From:

Returns true if this is an input event (a subclass of InputEventData).

Returns:

true if this is an input event

Type
boolean

toString() → {string}

Inherited From:

Returns a string representation of this event for debug purposes.

Returns:
Type
string