Creates a new ActionEvent
The mesh or sprite that triggered the action
The X mouse cursor position at the time of the event
The Y mouse cursor position at the time of the event
The mesh that is currently pointed at (can be null)
the original (browser) event that triggered the ActionEvent
additional data for the event
additional data for the event
The mesh that is currently pointed at (can be null)
The X mouse cursor position at the time of the event
The Y mouse cursor position at the time of the event
The mesh or sprite that triggered the action
the original (browser) event that triggered the ActionEvent
Helper function to auto-create an ActionEvent from a source mesh.
The source mesh that triggered the event
The original (browser) event
additional data for the event
the new ActionEvent
Helper function to auto-create an ActionEvent from a primitive
defines the target primitive
defines the pointer position
The original (browser) event
additional data for the event
the new ActionEvent
Helper function to auto-create an ActionEvent from a scene. If triggered by a mesh use ActionEvent.CreateNew
the scene where the event occurred
The original (browser) event
the new ActionEvent
Helper function to auto-create an ActionEvent from a source sprite
The source sprite that triggered the event
Scene associated with the sprite
The original (browser) event
additional data for the event
the new ActionEvent
Generated using TypeDoc
ActionEvent is the event being sent when an action is triggered.