Skip to main content

EntityHoveredEvent

@3dverse/livelink v0.8.10


@3dverse/livelink / EntityHoveredEvent

Class: EntityHoveredEvent

Defined in: livelink.js/sources/rendering/ViewportEvents.ts:9

Experimental

The event that is fired when an entity is hovered.

Extends

  • Event

Properties

hovered_entity

readonly hovered_entity: null | Entity

Defined in: livelink.js/sources/rendering/ViewportEvents.ts:13

Experimental

The entity that is currently picked or hovered or null if no entity is picked or hovered.


ws_position

readonly ws_position: null | Vec3

Defined in: livelink.js/sources/rendering/ViewportEvents.ts:18

Experimental

The world space position of the entity that is currently picked or hovered or null if no entity is picked or hovered.


ws_normal

readonly ws_normal: null | Vec3

Defined in: livelink.js/sources/rendering/ViewportEvents.ts:23

Experimental

The world space normal of the entity that is currently picked or hovered or null if no entity is picked or hovered.


bubbles

readonly bubbles: boolean

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8087

Experimental

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

MDN Reference

Inherited from

Event.bubbles


cancelBubble

cancelBubble: boolean

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8093

Experimental

Deprecated

MDN Reference

Inherited from

Event.cancelBubble


cancelable

readonly cancelable: boolean

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8099

Experimental

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

MDN Reference

Inherited from

Event.cancelable


composed

readonly composed: boolean

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8105

Experimental

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

MDN Reference

Inherited from

Event.composed


currentTarget

readonly currentTarget: null | EventTarget

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8111

Experimental

Returns the object whose event listener's callback is currently being invoked.

MDN Reference

Inherited from

Event.currentTarget


defaultPrevented

readonly defaultPrevented: boolean

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8117

Experimental

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

MDN Reference

Inherited from

Event.defaultPrevented


eventPhase

readonly eventPhase: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8123

Experimental

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

MDN Reference

Inherited from

Event.eventPhase


isTrusted

readonly isTrusted: boolean

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8129

Experimental

Returns true if event was dispatched by the user agent, and false otherwise.

MDN Reference

Inherited from

Event.isTrusted


returnValue

returnValue: boolean

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8135

Experimental

Deprecated

MDN Reference

Inherited from

Event.returnValue


srcElement

readonly srcElement: null | EventTarget

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8141

Experimental

Deprecated

MDN Reference

Inherited from

Event.srcElement


target

readonly target: null | EventTarget

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8147

Experimental

Returns the object to which event is dispatched (its target).

MDN Reference

Inherited from

Event.target


timeStamp

readonly timeStamp: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8153

Experimental

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

MDN Reference

Inherited from

Event.timeStamp


type

readonly type: string

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8159

Experimental

Returns the type of event, e.g. "click", "hashchange", or "submit".

MDN Reference

Inherited from

Event.type


NONE

readonly NONE: 0

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8190

Experimental

Inherited from

Event.NONE


CAPTURING_PHASE

readonly CAPTURING_PHASE: 1

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8191

Experimental

Inherited from

Event.CAPTURING_PHASE


AT_TARGET

readonly AT_TARGET: 2

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8192

Experimental

Inherited from

Event.AT_TARGET


BUBBLING_PHASE

readonly BUBBLING_PHASE: 3

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8193

Experimental

Inherited from

Event.BUBBLING_PHASE


NONE

readonly static NONE: 0

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8199

Experimental

Inherited from

Event.NONE


CAPTURING_PHASE

readonly static CAPTURING_PHASE: 1

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8200

Experimental

Inherited from

Event.CAPTURING_PHASE


AT_TARGET

readonly static AT_TARGET: 2

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8201

Experimental

Inherited from

Event.AT_TARGET


BUBBLING_PHASE

readonly static BUBBLING_PHASE: 3

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8202

Experimental

Inherited from

Event.BUBBLING_PHASE

Methods

composedPath()

composedPath(): EventTarget[]

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8165

Experimental

Returns

EventTarget[]

Inherited from

Event.composedPath


initEvent()

initEvent(type, bubbles?, cancelable?): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8171

Experimental

Parameters

type

string

bubbles?

boolean

cancelable?

boolean

Returns

void

Deprecated

MDN Reference

Inherited from

Event.initEvent


preventDefault()

preventDefault(): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8177

Experimental

Returns

void

Inherited from

Event.preventDefault


stopImmediatePropagation()

stopImmediatePropagation(): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8183

Experimental

Returns

void

Inherited from

Event.stopImmediatePropagation


stopPropagation()

stopPropagation(): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:8189

Experimental

Returns

void

Inherited from

Event.stopPropagation