PointerInfo

Description

class PointerInfo extends PointerInfoBase

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.

Constructor

new PointerInfo(type, event, MouseWheelEvent, pickInfo)

Parameters

Name Type Description
type number
event PointerEvent or MouseWheelEvent
pickInfo Nullable<PickingInfo>

Members

pickInfo : Nullable<PickingInfo>