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

PointerEvent Struct

Used to create event payloads when an interaction occurs.
Contains information about the type of interaction, where it occurred in space, and any custom data associated with the interaction.

Constructors

PointerEvent ( identifier , type , pose , data )
Signature
Oculus.Interaction.PointerEvent.PointerEvent(int identifier, PointerEventType type, Pose pose, object data=null)
Parameters
identifier: int
type: PointerEventType
pose: Pose
data: object

Properties

Data : object
[Get]
Signature
object Oculus.Interaction.PointerEvent.Data
Identifier : int
[Get]
Signature
int Oculus.Interaction.PointerEvent.Identifier
Pose : Pose
[Get]
Signature
Pose Oculus.Interaction.PointerEvent.Pose
Type : PointerEventType
[Get]
Signature
PointerEventType Oculus.Interaction.PointerEvent.Type