Show / Hide Table of Contents

Struct InteractionSourceState

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Namespace: UnityEngine.XR.WSA.Input
Assembly: UnityEngine.dll
Syntax
[MovedFrom("UnityEngine.VR.WSA.Input")]
public struct InteractionSourceState

Properties

| Improve this Doc View Source

anyPressed

Declaration
public bool anyPressed { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

grasped

Declaration
public bool grasped { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

headPose

Declaration
public Pose headPose { get; }
Property Value
Type Description
Pose
| Improve this Doc View Source

headRay

Declaration
[Obsolete("InteractionSourceState.headRay is obsolete - update your scripts to use InteractionSourceLocation.headPose instead.", false)]
public Ray headRay { get; }
Property Value
Type Description
Ray
| Improve this Doc View Source

menuPressed

Declaration
public bool menuPressed { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

pressed

Declaration
[Obsolete("InteractionSourceState.pressed is deprecated, and will be removed in a future release. Use InteractionSourceState.selectPressed instead. (UnityUpgradable) -> selectPressed", false)]
public bool pressed { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

properties

Declaration
public InteractionSourceProperties properties { get; }
Property Value
Type Description
InteractionSourceProperties
| Improve this Doc View Source

selectPressed

Declaration
public bool selectPressed { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

selectPressedAmount

Declaration
public float selectPressedAmount { get; }
Property Value
Type Description
Single
| Improve this Doc View Source

source

Declaration
public InteractionSource source { get; }
Property Value
Type Description
InteractionSource
| Improve this Doc View Source

sourcePose

Declaration
public InteractionSourcePose sourcePose { get; }
Property Value
Type Description
InteractionSourcePose
| Improve this Doc View Source

thumbstickPosition

Declaration
public Vector2 thumbstickPosition { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

thumbstickPressed

Declaration
public bool thumbstickPressed { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

touchpadPosition

Declaration
public Vector2 touchpadPosition { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

touchpadPressed

Declaration
public bool touchpadPressed { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

touchpadTouched

Declaration
public bool touchpadTouched { get; }
Property Value
Type Description
Boolean

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX