Table of Contents

Method GetUp

Namespace
YVR.Core
Assembly
YVR.Core.Runtime.dll

GetUp(RawButton, ControllerType)

Whether the button is pressed up in this frame

public static bool GetUp(YVRInput.RawButton rawMask, ControllerType controllerMask = ControllerType.Active)

Parameters

rawMask YVRInput.RawButton

Target button

controllerMask ControllerType

Target controller

Returns

bool

true if the rawMask button is pressed up in this frame

GetUp(VirtualButton, ControllerType)

Whether the button is pressed up in this frame

public static bool GetUp(YVRInput.VirtualButton virtualMask, ControllerType controllerMask = ControllerType.Active)

Parameters

virtualMask YVRInput.VirtualButton

Target button

controllerMask ControllerType

Target controller

Returns

bool

true if the virtualMask button is pressed up in this frame

GetUp(RawTouch, ControllerType)

Whether the button is touched up in this frame

public static bool GetUp(YVRInput.RawTouch rawMask, ControllerType controllerMask = ControllerType.Active)

Parameters

rawMask YVRInput.RawTouch

Target button

controllerMask ControllerType

Target controller

Returns

bool

true if the rawMask button is touched up in this frame

GetUp(VirtualTouch, ControllerType)

Whether the button is touched up in this frame

public static bool GetUp(YVRInput.VirtualTouch virtualMask, ControllerType controllerMask = ControllerType.Active)

Parameters

virtualMask YVRInput.VirtualTouch

Target button

controllerMask ControllerType

Target controller

Returns

bool

true if the virtualMask button is touched up in this frame