Show / Hide Table of Contents

Class InputDevicePointer

A concrete implementation of IVRPointer designed for use with IVRInputDevice.

Inheritance
System.Object
BasePointer
InputDevicePointer
Implements
IVRPointer
Inherited Members
BasePointer.IsActive
BasePointer.DeviceComponent
BasePointer.CurrentRaycastResult
BasePointer.Transform
BasePointer.ActiveStateChanged
BasePointer.Activate()
BasePointer.Deactivate()
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Liminal.SDK.VR.Pointers
Assembly: Liminal.SDK.dll
Syntax
public class InputDevicePointer : BasePointer, IVRPointer

Constructors

| Improve this Doc View Source

InputDevicePointer(IVRInputDevice)

Declaration
public InputDevicePointer(IVRInputDevice inputDevice)
Parameters
Type Name Description
IVRInputDevice inputDevice

Properties

| Improve this Doc View Source

InputDevice

Gets the IVRInputDevice the pointer is bound to.

Declaration
public IVRInputDevice InputDevice { get; }
Property Value
Type Description
IVRInputDevice

Methods

| Improve this Doc View Source

GetButtonDown()

[Internal use] Indicates if the primary interaction button was pressed.

Declaration
public override bool GetButtonDown()
Returns
Type Description
System.Boolean

A boolean indicating if the primary interaction button was pressed.

Overrides
BasePointer.GetButtonDown()
| Improve this Doc View Source

GetButtonUp()

[Internal use] Indicates if the primary interaction button was released.

Declaration
public override bool GetButtonUp()
Returns
Type Description
System.Boolean

A boolean indicating if the primary interaction button was released.

Overrides
BasePointer.GetButtonUp()
| Improve this Doc View Source

OnPointerEnter(GameObject)

[Internal use] Executed when the pointer hovers over an interactable GameObject.

Declaration
public override void OnPointerEnter(GameObject target)
Parameters
Type Name Description
UnityEngine.GameObject target

The GameObject the pointer the pointer entered.

Overrides
BasePointer.OnPointerEnter(GameObject)
| Improve this Doc View Source

OnPointerExit(GameObject)

[Internal use] Executed when the pointer leaves an interactable GameObject after OnPointerEnter(GameObject) has been executed.

Declaration
public override void OnPointerExit(GameObject target)
Parameters
Type Name Description
UnityEngine.GameObject target

The GameObject the pointer the pointer exited.

Overrides
BasePointer.OnPointerExit(GameObject)

Implements

IVRPointer
  • Improve this Doc
  • View Source
Back to top Generated by DocFX