Callback object for Pre-Interaction type events.

This, like all other callback objects are automatically reused and you should not keep any reference to them.

Constructor

new()

@private

Variables

read onlyarbiter:Arbiter

Arbiter related to callback event.

In the case that this pre-event occurs between two non-Shape's then this is the first arbiter to be created for the related interactionType

read onlyint1:Interactor

First Interactor involved in callback event.

This interactor will have CbType set matched by the first OptionType in InteractionListener

read onlyint2:Interactor

Second Interactor involved in callback event.

This interactor will have CbType set matched by the second OptionType in InteractionListener

read onlyswapped:Bool

Describes how Arbiter's objects are related to int1/int2 properties

If true, then arbiter.shape1 will belong to callback.int2, and arbiter.shape2 will belong to callback.int1.

If you take the arbiter's normal, then if swapped is true, the normal will point from int2 towards int1 instead of from int1 towards int2.

Methods

@:keeptoString():String

@private

Inherited Variables

Defined by Callback

@:value(null)zpp_inner:ZPP_Callback = null

@private

read onlyevent:CbEvent

CbEvent type this callback was generated for.

read onlylistener:Listener

The Listener which was responsive for this callback being generated.

Inherited Methods