SpatialTapValue

@Immutable
class SpatialTapValue(val position: Offset3D, val interactionKind: InteractionKind, val targetEntity: Entity? = null)

Class that holds the value of a tap gesture.

Parameters

position

The position in pixels where a spatial tap happens. And the position 3d value is under view local coordinate.

interactionKind

The interaction kind of the tap gesture.

targetEntity

The target entity of the tap gesture. When user tap 3d model, targetEntity is the 3d model entity. And it is null when user tap 2d view.

Constructors

Link copied to clipboard
constructor(position: Offset3D, interactionKind: InteractionKind, targetEntity: Entity? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val position: Offset3D
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String