Interface: PhysicsEvent
Extends
PluginEvent
Properties
bodyA
bodyA:
PhysicsBody
Source
bodyB
bodyB:
PhysicsBody
Source
handled?
optional
handled:boolean
Has the event been taken care of by the listener and not be dispatched to other targets?
Inherited from
PluginEvent.handled
Source
core/dist/index.d.ts:2309
iso8601Timestamp
iso8601Timestamp:
string
Timestamp of th event, from new Date().toISOString()
Inherited from
PluginEvent.iso8601Timestamp
Source
core/dist/index.d.ts:2313
sequence?
optional
sequence:number
Sequence number of event.
Remarks
Sequence number is guaranteed to reflect order of events, but not necessarily contiguous, e.g., could be 1, 2, 5, 10, 11, 24.
Inherited from
PluginEvent.sequence
Source
core/dist/index.d.ts:2318
target
target:
Plugin
Inherited from
PluginEvent.target
Source
core/dist/index.d.ts:4398
timestamp
timestamp:
number
Timestamp of the event, from performance.now()
Inherited from
PluginEvent.timestamp
Source
core/dist/index.d.ts:2311
type
type:
string
Type of event.
Inherited from
PluginEvent.type
Source
core/dist/index.d.ts:2305