API reference
API reference
Select your platform
No SDKs available
No versions available

PointerEvent

PointerEvent

class PointerEvent(val source: Entity, val type: Int, val hitInfo: HitInfo, val scrollInfo: Vector2 = Vector2(), val semanticType: Int = SemanticType.Unknown.id, val pointerType: Int = 0)
Data class representing a pointer event.

Constructors

NameSummary
PointerEvent
constructor(source: Entity, type: Int, hitInfo: HitInfo, scrollInfo: Vector2 = Vector2(), semanticType: Int = SemanticType.Unknown.id, pointerType: Int = 0)

Properties

NameSummary
hitInfo
val hitInfo: HitInfo
pointerType
val pointerType: Int = 0
scrollInfo
val scrollInfo: Vector2
semanticType
val semanticType: Int
source
val source: Entity
type
val type: Int
Did you find this page helpful?
Thumbs up icon
Thumbs down icon