NodeBodyEvent

class NodeBodyEvent(val node: GraphNode, val type: MouseEventType, val position: Vector2, val box: Rectangle, val button: MouseButton, val modifiers: Set<KeyModifier>)(source)

a pointer event in the body of node, see GraphNode.bodyPointer: a press, a drag or a release, at position in the coordinates of the graph, like box, the box of the body; fraction is where it is in the box, from 0 to 1

Constructors

Link copied to clipboard
constructor(node: GraphNode, type: MouseEventType, position: Vector2, box: Rectangle, button: MouseButton, modifiers: Set<KeyModifier>)

Properties

Link copied to clipboard
val box: Rectangle
Link copied to clipboard
val button: MouseButton
Link copied to clipboard
val fraction: Vector2
Link copied to clipboard
val modifiers: Set<KeyModifier>
Link copied to clipboard
Link copied to clipboard
val position: Vector2
Link copied to clipboard
val type: MouseEventType