PointableCanvasEventArgs
(
canvas
, hovered
, dragging
)
|
Create a new PointableCanvasEventArgs
Signature
Oculus.Interaction.PointableCanvasEventArgs.PointableCanvasEventArgs(Canvas canvas, GameObject hovered, bool dragging) Parameters hovered: GameObject
The GameObject that's being hovered, if any.
dragging: bool
Whether the user is dragging at the time of this 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 |