Skip to main content

Namespace: Events

Classes

Interfaces

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

src/events/CursorManager.ts:5


RaycasterSortComparer

Ƭ RaycasterSortComparer: (a: IntersectionExt, b: IntersectionExt) => number

Type declaration

▸ (a, b): number

A custom sorting comparison function used for ordering intersections during raycasting.

Parameters
NameTypeDescription
aIntersectionExtThe first intersection to compare.
bIntersectionExtThe 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.

Defined in

src/events/RaycasterManager.ts:12