ControllerHapticConfiguration

@Stable
class ControllerHapticConfiguration(val hover: HandControllerHapticType = HandControllerHapticType.Hover, val press: HandControllerHapticType = HandControllerHapticType.Press, val step: HandControllerHapticType = HandControllerHapticType.Step, val none: HandControllerHapticType = HandControllerHapticType.None)

hand controller haptic configuration, provide

  • Hover

  • Press

  • Step

  • None

Constructors

Link copied to clipboard
constructor(hover: HandControllerHapticType = HandControllerHapticType.Hover, press: HandControllerHapticType = HandControllerHapticType.Press, step: HandControllerHapticType = HandControllerHapticType.Step, none: HandControllerHapticType = HandControllerHapticType.None)

Types

Link copied to clipboard
object Companion

the companion object of ControllerHapticConfiguration

Properties

Link copied to clipboard

hover haptic type in configuration

Link copied to clipboard

none haptic type in configuration

Link copied to clipboard

press haptic type in configuration

Link copied to clipboard

step haptic type in configuration

Functions

Link copied to clipboard
fun copy(hover: HandControllerHapticType = this.hover, press: HandControllerHapticType = this.press, step: HandControllerHapticType = this.step, none: HandControllerHapticType = this.none): ControllerHapticConfiguration

copy hand controller haptic configuration with new values

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

override equals function

Link copied to clipboard
open override fun hashCode(): Int

override hashCode function