Why Meta Quest?
Design
Develop
API reference
Distribute and grow
Blog
Support
API reference
API reference
Select your platform
No SDKs available
No versions available
Overview
AlertViewHUD
Boundary
Fusion
IOVRAnchorComponent
InlineLinkAttribute
Meta
XR
BuildingBlocks
EnvironmentDepth
ImmersiveDebugger
ImmersiveDebugger
CustomIntegrationConfig
CustomIntegrationConfigBase
DebugData
DebugInspector
DebugMember
ExampleCustomIntegrationConfig
Gizmo
ICustomIntegrationConfig
InspectedData
RuntimeSettings
UserInterface
UserInterface
Console
ConsoleLine
DebugBar
DebugInterface
DebugPanel
Generic
Generic
Background
Button
ButtonWithIcon
ButtonWithLabel
Controller
Cursor
Dropdown
Flex
Icon
Image
ImageStyle
InteractableController
Interface
Label
LayoutStyle
OverlayCanvas
OverlayCanvasPanel
Panel
PointerHandler
ScrollView
ScrollViewport
Slider
Style
Switch
TextArea
TextStyle
Toggle
ToggleWithLabel
PanelInputModule
Value
Values
InputActions
MultiplayerBlocks
Samples
Util
OVR
OVRAnchor
OVRAnchorContainer
OVRAudioSourceTest
OVRAutoDestroyInMRC
OVRBody
OVRBone
OVRBoneCapsule
OVRBoundary
OVRBounded2D
OVRBounded3D
OVRBuildInfo
OVRCameraRig
OVRChromaticAberration
OVRColocationSession
OVRControllerDrivenHandPosesSample
OVRControllerHelper
OVRControllerTest
OVRCubemapCapture
OVRCursor
OVRCustomFace
OVRCustomFaceExtensions
OVRCustomSkeleton
OVRDebugHeadController
OVRDebugInfo
OVRDisplay
OVRDynamicObject
OVREnumExtensions
OVRExtensions
OVREyeGaze
OVRFace
OVRFaceExpressions
OVRGLTFAccessor
OVRGLTFAnimatinonNode
OVRGLTFAnimationNodeMorphTargetHandler
OVRGLTFLoader
OVRGLTFScene
OVRGazePointer
OVRGrabbable
OVRGrabber
OVRGridCube
OVRHand
OVRHandTest
OVRHandTrackingWideMotionModeSample
OVRHaptics
OVRHapticsClip
OVRHeadsetEmulator
OVRHumanBodyBonesMappingsInterface
OVRInput
OVRInputRayData
OVRKeyboard
OVRKtxTexture
OVRLayerAttribute
OVRLocatable
OVRManager
OVRMaterialData
OVRMesh
OVRMeshAttributes
OVRMeshData
OVRMeshJobs
OVRMeshRenderer
OVRMicrogestureEventSource
OVRMicrogesturesSample
OVRMixedRealityCaptureTest
OVRModeParms
OVRMonoscopic
OVRNativeBuffer
OVRNativeList
OVRNetwork
OVRNodeStateProperties
OVROverlay
OVROverlayCanvas
OVROverlayCanvasSettings
OVROverlayMeshGenerator
OVRPassthroughColorLut
OVRPassthroughLayer
OVRPermissionsRequester
OVRPlatformMenu
OVRPlayerController
OVRPointerVisualizer
OVRPose
OVRProfile
OVRProgressIndicator
OVRRayHelper
OVRRayTransformer
OVRRaycaster
OVRResetOrientation
OVRResources
OVRResult
OVRRoomLayout
OVRRuntimeAssetsBase
OVRRuntimeController
OVRRuntimeSettings
OVRScene
OVRSceneAnchor
OVRSceneLoader
OVRSceneManager
OVRSceneModelLoader
OVRSceneObjectTransformType
OVRScenePlane
OVRScenePlaneMeshFilter
OVRScenePrefabOverride
OVRSceneRoom
OVRSceneSampleController
OVRSceneVolume
OVRSceneVolumeMeshFilter
OVRScreenFade
OVRSemanticClassification
OVRSemanticLabels
OVRSharable
OVRSimultaneousHandsAndControllersSample
OVRSkeleton
OVRSkeletonRenderer
OVRSpace
OVRSpaceUser
OVRSpatialAnchor
OVRSpectatorModeDomeTest
OVRStorable
OVRSystemPerfMetrics
OVRTask
OVRTaskBuilder
OVRTextureData
OVRTrackedKeyboard
OVRTrackedKeyboardHands
OVRTrackedKeyboardSampleControls
OVRTracker
OVRTriangleMesh
OVRUnityHumanoidSkeletonRetargeter
OVRVignette
OVRVirtualKeyboard
OVRVirtualKeyboardInputFieldTextHandler
OVRVirtualKeyboardSampleControls
OVRVirtualKeyboardSampleInputHandler
OVRWaitCursor
OperationResultExtensions
ProcessPort
RoomMeshAnchor
SharedSpatialAnchorErrorHandler
Code samples
Downloads
Release notes
Supported platforms
Meta
Slider Class
Extends
Button
, IDragHandler, IInitializePotentialDragHandler
This is a MonoBehaviour for the slider UI element.
It's used for the float/int debug data's tweaking in the Inspector panel of Immersive Debugger. For more info about Immersive Debugger, check out the
official doc
Properties
Tweak
Tweak
[Get]
ImageStyle
EmptyBackgroundStyle
The background style when the slider is not filled (normally on the right hand side of the slider)
ImageStyle
FillBackgroundStyle
The background style when the slider is filled (normally on the left hand side of the slider)
Protected Functions
virtual override void
Setup
(
Controller
owner )
Member Functions
void
OnDrag
( PointerEventData eventData )
The callback implementation for the OnDrag event.
Parameters
eventData
The pointer event data for the drag gesture
void
OnInitializePotentialDrag
( PointerEventData eventData )
The callback implementation for the OnInitializePotentialDrag event.
Parameters
eventData
The pointer event data for the potential drag gesture
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
English (US)
© 2026 Meta