Skip to main content
Version: 1.0.0

Enum CefInputMode

Namespace: ReadyM.Cef
Assembly: ReadyM.Cef.dll

What should happen to input over a viewport while its page is on screen.

public enum CefInputMode

Fields​

DisplayOnly = 0

A picture. No click, hover or wheel is routed to the page; they reach whatever is under it. This is the mode for an always-on display such as a log or a HUD.

Bubbling = 1

The page takes the pointer where it has content (decided by the browser's own hit test, so a transparent area or one with pointer-events: none lets the click through) and the game gets it everywhere else.

Exclusive = 2

The page takes every pointer event over its whole viewport, transparent or not.

Remarks​

PER VIEWPORT: set with CefInputMode), or for every viewport at once with CefInputMode). Each viewport is decided from its own mode and its own page, so a page in front never takes a click because of what a page behind it said.

The values mirror CefInputMode.h and are read across the binding as an int, so the two have to be edited together.