Legacy Documentation: Version 5.6 (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.