Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

InteractionSourceProperties

struct in UnityEngine.XR.WSA.Input

/

Implemented in:UnityEngine.VRModule

Description

Represents the set of properties available to explore the current state of a hand or controller.

Properties

sourceLossMitigationDirectionThe direction you should suggest that the user move their hand if it is nearing the edge of the detection area.
sourceLossRiskGets the risk that detection of the hand will be lost as a value from 0.0 to 1.0.

Did you find this page useful? Please give it a rating: