InteractionSource

struct in UnityEngine.XR.WSA.Input

Cambiar al Manual

Descripción

Represents one detected instance of an interaction source (hand, controller, or user's voice) that can cause interactions and gestures.

Variables

handednessDenotes which hand was used as the input source.
idThe identifier for the interaction source (hand, controller, or user's voice).
kindSpecifies the kind of an interaction source.
productIdFollowing the make and model nomenclature of cars, this equates to the model number.
productVersionFollowing the make and model nomenclature of cars, this would be a minor update to the model.
supportsGraspThis property returns true when the interaction source has at least one grasp button, and false if otherwise.
supportsMenuThis property returns true when the interaction source has a menu button, and false if otherwise.
supportsPointingThis property returns true if the interaction source has a separate pose for the pointer, and false if otherwise.
supportsThumbstickReturns true if the interaction source has a thumbstick, and false if otherwise.
supportsTouchpadReturns true if the interaction source has a touchpad, and false if otherwise.
vendorIdAll interaction sources developed by the same company will have the same vendor ID.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961