KeyboardInfoPre

This class is used to store keyboard related info for the onPreKeyboardObservable event. Set the skipOnKeyboardObservable property to true if you want the engine to stop any process after this event is triggered, even not calling onKeyboardObservable

Hierarchy

Index

Constructors

Properties

Constructors

constructor

Find examples in Playground
  • Instantiates a new keyboard pre info. This class is used to store keyboard related info for the onPreKeyboardObservable event.

    Parameters

    • type: number

      Defines the type of event (BABYLON.KeyboardEventTypes)

    • event: KeyboardEvent

      Defines the related dom event

    Returns KeyboardInfoPre

Properties

event

Find examples in Playground
event: KeyboardEvent

Defines the related dom event

skipOnPointerObservable

Find examples in Playground
skipOnPointerObservable: boolean

Defines whether the engine should skip the next onKeyboardObservable associated to this pre.

type

Find examples in Playground
type: number

Defines the type of event (BABYLON.KeyboardEventTypes)

Generated using TypeDoc