PointableCanvasEventArgs
(
canvas
, hovered
, dragging
, pointerId
)
|
Create a new PointableCanvasEventArgs
Signature
Oculus.Interaction.PointableCanvasEventArgs.PointableCanvasEventArgs(Canvas canvas, GameObject hovered, bool dragging, int? pointerId=null) Parameters hovered: GameObject
The GameObject that's being hovered, if any.
dragging: bool
Whether the user is dragging at the time of this event.
pointerId: int?
Unique identifier for the pointer that triggered the event
|
Canvas
: readonly Canvas |
The canvas that's being interacted with.
Signature
readonly Canvas Oculus.Interaction.PointableCanvasEventArgs.Canvas |
Dragging
: readonly bool |
Whether the user is dragging at the time of this event.
Corresponds to PointerEventData.dragging
Signature
readonly bool Oculus.Interaction.PointableCanvasEventArgs.Dragging |
Hovered
: readonly GameObject |
The GameObject that's being hovered, if any.
Signature
readonly GameObject Oculus.Interaction.PointableCanvasEventArgs.Hovered |
PointerId
: readonly int |
Gets the unique identifier for the pointer that triggered the event
Signature
readonly int Oculus.Interaction.PointableCanvasEventArgs.PointerId |