Namespace: Events
Classes
- Default
- DragEventExt
- EventExt
- FocusEventExt
- Hitbox
- KeyboardEventExt
- MouseEventExt
- PointerEventExt
- PointerIntersectionEvent
- WheelEventExt
Interfaces
- AnimateEvent
- InteractionEvents
- IntersectionExt
- MiscEvents
- PropertyChangeEvent
- UpdateEvents
- ViewportResizeEvent
Type Aliases
Cursor
Ƭ Cursor: CursorsKeys | String
Represents a cursor, either by a CSS cursor key or a URL.
Defined in
src/events/CursorManager.ts:18
CursorsKeys
Ƭ CursorsKeys: "auto" | "default" | "none" | "context-menu" | "help" | "pointer" | "progress" | "wait" | "cell" | "crosshair" | "text" | "vertical-text" | "alias" | "copy" | "move" | "no-drop" | "not-allowed" | "grab" | "grabbing" | "all-scroll" | "col-resize" | "row-resize" | "n-resize" | "e-resize" | "s-resize" | "w-resize" | "ne-resize" | "nw-resize" | "se-resize" | "sw-resize" | "ew-resize" | "ns-resize" | "nesw-resize" | "nwse-resize" | "zoom-in" | "zoom-out"
Valid cursor values based on the CSS cursor property.
Defined in
RaycasterSortComparer
Ƭ RaycasterSortComparer: (a: IntersectionExt, b: IntersectionExt) => number
Type declaration
▸ (a, b): number
A custom sorting comparison function used for ordering intersections during raycasting.
Parameters
| Name | Type | Description |
|---|---|---|
a | IntersectionExt | The first intersection to compare. |
b | IntersectionExt | The second intersection to compare. |
Returns
number
A negative value if a should precede b, a positive value if b should precede a, or zero if their order is indeterminate.