Show / Hide Table of Contents

Class BasePointer

An abstract base implementation of IVRPointer.

Inheritance
System.Object
BasePointer
InputDevicePointer
TimedGazePointer
Implements
IVRPointer
Inherited Members
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 abstract class BasePointer : IVRPointer

Constructors

| Improve this Doc View Source

BasePointer(IVRDeviceComponent)

Declaration
public BasePointer(IVRDeviceComponent deviceComponent)
Parameters
Type Name Description
IVRDeviceComponent deviceComponent

Properties

| Improve this Doc View Source

CurrentRaycastResult

Gets the current input UnityEngine.EventSystems.RaycastResult.

Declaration
public RaycastResult CurrentRaycastResult { get; set; }
Property Value
Type Description
UnityEngine.EventSystems.RaycastResult
| Improve this Doc View Source

DeviceComponent

Gets the IVRDeviceComponent the pointer is bound to.

Declaration
public IVRDeviceComponent DeviceComponent { get; }
Property Value
Type Description
IVRDeviceComponent
| Improve this Doc View Source

IsActive

Indicates if the pointer is currently active.

Declaration
public bool IsActive { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Transform

Gets the transform for the origin of the pointer ray.

Declaration
public Transform Transform { get; set; }
Property Value
Type Description
UnityEngine.Transform

Methods

| Improve this Doc View Source

Activate()

Activates the pointer.

Declaration
public void Activate()
| Improve this Doc View Source

Deactivate()

Deactivates the pointer.

Declaration
public void Deactivate()
| Improve this Doc View Source

GetButtonDown()

Declaration
public abstract bool GetButtonDown()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetButtonUp()

Declaration
public abstract bool GetButtonUp()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

OnPointerEnter(GameObject)

Declaration
public abstract void OnPointerEnter(GameObject target)
Parameters
Type Name Description
UnityEngine.GameObject target
| Improve this Doc View Source

OnPointerExit(GameObject)

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

Events

| Improve this Doc View Source

ActiveStateChanged

Raised when the active state of the pointer has changed.

Declaration
public event PointerActiveStateChanged ActiveStateChanged
Event Type
Type Description
PointerActiveStateChanged

Implements

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