Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PointerInfo

This type contains all the data related to a pointer event in Babylon.js. The event member is an instance of PointerEvent for all types except PointerWheel and is of type MouseWheelEvent when type equals PointerWheel. The different event types can be found in the PointerEventTypes class.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Instantiates a PointerInfo to store pointer related info to the onPointerObservable event.

    Parameters

    • type: number

      Defines the type of event (PointerEventTypes)

    • event: IMouseEvent

      Defines the related dom event

    • pickInfo: Nullable<PickingInfo>

      Defines the picking info associated to the info (if any)\

    Returns PointerInfo

Properties

eventSearch playground for event

Defines the related dom event

pickInfoSearch playground for pickInfo

Defines the picking info associated to the info (if any)\

typeSearch playground for type

type: number

Defines the type of event (PointerEventTypes)

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method