CurvedUI
  • 👋Getting Started
    • Compatibility
    • CurvedUI in a new Project
    • Setup for Steam VR SDK
    • Setup for Meta XR SDK
    • Setup for Unity XR SDK
    • Setup for other Platforms
  • 🔰Scripting API
    • CurvedUIInputModule
    • CurvedUISettings
    • CurvedUIRaycaster
  • ❓FAQ & Common Problems
  • 🐞Known Issues
  • 🗒️Changelog
  • 🙋Contact & Support
Powered by GitBook
On this page
  1. Scripting API

CurvedUIInputModule

Member Name
Summary

ActivateModule

Activates the input module, setting it up for use.

ActiveControlMethod

The current control method used by the input module.

CanInstanceBeAccessed

Gets a value indicating whether the instance can be accessed.

ControlMethod

Gets or sets the current control method used by the input module.

CurrentPointedAt

Gets the game object currently being pointed at.

CustomRay

Gets or sets the custom ray used in CUSTOM_RAY controller mode.

CustomRayButtonState

Gets or sets the button state for the custom ray in CUSTOM_RAY controller mode.

DeactivateModule

Deactivates the input module, cleaning up any state.

DeselectIfSelectionChanged

Deselects the current selection if it has changed.

EnableInputModule<T>

Enables the specified input module.

EventCamera

Gets or sets the main event camera.

GetPointerData

Retrieves or creates pointer event data for the given pointer ID.

Instance

Gets the instance of the CurvedUIInputModule.

LeftMouseButton

Gets a value indicating whether the left mouse button is pressed.

MousePosition

Gets the current mouse position on the screen.

PointerDirection

Gets the direction where the handheld controller points.

PointerOrigin

Gets the world space position where the pointing ray starts.

PointerTransform

Gets the transform of the handheld controller used for interactions.

PointerTransformOverride

Gets or sets the transform override for the pointer.

RaycastLayerMask

Gets or sets the layer mask used by raycaster classes to perform a Physics.Raycast().

UsedHand

Gets or sets which hand can be used to interact with the canvas.

PreviousScripting APINextCurvedUISettings

Last updated 3 months ago

🔰