nape.callbacks.CbEvent

type
class
Enumeration of possible callback event types.

Static Properties

static readonly var BEGIN : CbEvent

BEGIN event corresponds to the start of an interaction

static readonly var BREAK : CbEvent

BREAK event corresponds to the breaking of a defined limit on a Constraint.

static readonly var END : CbEvent

END event corresponds to the end of an interaction.

static readonly var ONGOING : CbEvent

ONGOING event corresponds to any step in which an interaction is occuring

static readonly var PRE : CbEvent

PRE event corresponds to a special mid-step event that occurs after it is determined

static readonly var SLEEP : CbEvent

SLEEP event corresponds to the sleeping of a Body or Constraint in the space.

static readonly var WAKE : CbEvent

WAKE event corresponds to the waking of a Body or Constraint in the space.