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

Script language

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

InteractionSourceState

struct in UnityEngine.VR.WSA.Input

Description

Represents a snapshot of the state of a spatial interaction source (hand, voice or controller) at a given time.

Variables

headRayThe Ray at the time represented by this InteractionSourceState.
pressedTrue if the source is in the pressed state.
propertiesAdditional properties to explore the state of the interaction source.
sourceThe interaction source that this state describes.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答