Class ObjectPicker

Hierarchy

  • EventDispatcher<
        Event,
        "hoverObjectChanged"
        | "selectedObjectChanged"
        | "hitObject",
    >
    • ObjectPicker

Constructors

Properties

cursorStyles: { default: string; down: string }
domElement: HTMLElement
hoverEnabled: boolean = false
mouse: Vector2
raycaster: Raycaster
selectionCondition: (o: IObject3D) => boolean
undoManager?: JSUndoManager
PointerClickMaxDistance: number = 0.1

Distance threshold for a pointer click event

PointerClickMaxTime: number = 200

Time threshold for a pointer click event

Accessors

Methods