OctoXR
  • OctoXR
  • Setup
  • INPUT
    • Input
      • Hand Skeleton Configuration
      • Hand Skeleton Pose Provider
      • Input Data Provider
      • Hand Input Data Provider
      • Unity XR Controller Input Data Provider
      • Multi Source Input Data Provider
      • Input Confidence Trigger
      • Hand Skeleton
      • Hand Bone
  • PLATFORMS
    • OpenXR
      • Input
        • XR Hand Input Data Provider
  • Hand Pose Detection
    • How To Use
    • Scripting
      • HandPose
      • IHandPoseComponent
        • HandPoseShape
        • HandPoseOrientation
      • HandShapeCreator
      • HandPoseHandRef
  • User Interface
    • How To Use
    • Scripting
      • UIPointer
  • Locomotion
    • How To Use
    • Scripting
      • LocomotionSystem
      • TeleportRayInteractor
      • Teleport
        • HandTeleport
          • PinchTeleport
          • GestureTeleport
        • ControllerTeleport
      • ContinuousLocomotion
        • HandContinuousLocomotion
        • ControllerContinuousLocomotion
      • TeleportDestination
        • TeleportArea
        • TeleportAnchor
  • Interactions
    • Overview
    • Interactor
    • Interactable
    • Interaction Controller
    • Interaction trackers and indicators
  • Physics
    • How To Use
      • Physics Hand Skeleton
      • Physics Hand Bone
    • Scripting
      • PhysicsHandSkeleton
      • PhysicsHandBone
      • TriggerTracker
      • HandTriggerSkeleton
      • HandTriggerBone
  • General
    • ScreenFader
    • RayVisuals
Powered by GitBook
On this page
  • Public Events
  • Public Methods
  1. User Interface
  2. Scripting

UIPointer

Main pointer component. Needs a concrete IPointer implementation as a reference in order to work.

Currently there are two concrete pointers (hand and controller). If you wish to implement your custom Pointer, just implement IPointer interface and reference that object in pointers array.

Public Events

UnityEvent OnStartSelect

  • Will be invoked when pointer is hovering over UI element and start action is detected

UnityEvent OnStopSelect

  • Will be invoked when start action ends

UnityEvent OnPointerEnterCanvas

UnityEvent OnPointerExitCanvas

Public Methods

void UpdateCanvases()

  • If you create canvas at runtime, call this method to update the pointer canvases list

PreviousScriptingNextHow To Use

Last updated 5 days ago