Type Alias: ScenegraphInteractionHit
ScenegraphInteractionHit =
object
Defined in: modules/engine/src/scenegraph/scenegraph-interaction.ts:11
A hit with its particular root-to-target path, ordered nearest to farthest by the caller.
Properties
data?
optionaldata?:unknown
Defined in: modules/engine/src/scenegraph/scenegraph-interaction.ts:19
Application-specific picking information.
path
path: readonly
ScenegraphNode[]
Defined in: modules/engine/src/scenegraph/scenegraph-interaction.ts:13
Root-to-target path, including the hit node; distinguishes shared instances.
point?
optionalpoint?: readonly [number,number,number]
Defined in: modules/engine/src/scenegraph/scenegraph-interaction.ts:15
Optional intersection point in world coordinates.
rayOrigin?
optionalrayOrigin?: readonly [number,number,number]
Defined in: modules/engine/src/scenegraph/scenegraph-interaction.ts:17
Optional world-space ray origin.