Class HoloLensInput | Windows Mixed Reality | 4.2.3
docs.unity3d.com
    Show / Hide Table of Contents

    Class HoloLensInput

    Inheritance
    Object
    UIBehaviour
    BaseInput
    HoloLensInput
    Inherited Members
    BaseInput.GetTouch(Int32)
    BaseInput.GetAxisRaw(String)
    BaseInput.GetButtonDown(String)
    BaseInput.compositionString
    BaseInput.imeCompositionMode
    BaseInput.compositionCursorPos
    UIBehaviour.OnEnable()
    UIBehaviour.Start()
    UIBehaviour.OnDisable()
    UIBehaviour.IsActive()
    UnityEngine.EventSystems.UIBehaviour.OnValidate()
    UnityEngine.EventSystems.UIBehaviour.Reset()
    UIBehaviour.OnRectTransformDimensionsChange()
    UIBehaviour.OnBeforeTransformParentChanged()
    UIBehaviour.OnTransformParentChanged()
    UIBehaviour.OnDidApplyAnimationProperties()
    UIBehaviour.OnCanvasGroupChanged()
    UIBehaviour.OnCanvasHierarchyChanged()
    UIBehaviour.IsDestroyed()
    Namespace: UnityEngine.EventSystems
    Syntax
    [Obsolete("Support for built-in VR will be removed in Unity 2020.1. Please update to the new Unity XR Plugin System. More information about the new XR Plugin System can be found at https://docs.google.com/document/d/1AMk4NwRVAtnG-LScXT2ne_s5mD4rmWK_C9dyn39ZDbc/edit.", false)]
    public class HoloLensInput : BaseInput

    Properties

    mousePosition

    Declaration
    public override Vector2 mousePosition { get; }
    Property Value
    Type Description
    Vector2
    Overrides
    BaseInput.mousePosition

    mousePresent

    Declaration
    public override bool mousePresent { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    BaseInput.mousePresent

    mouseScrollDelta

    Declaration
    public override Vector2 mouseScrollDelta { get; }
    Property Value
    Type Description
    Vector2
    Overrides
    BaseInput.mouseScrollDelta

    touchCount

    Declaration
    public override int touchCount { get; }
    Property Value
    Type Description
    Int32
    Overrides
    BaseInput.touchCount

    touchSupported

    Declaration
    public override bool touchSupported { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    BaseInput.touchSupported

    Methods

    AllowDrag()

    Declaration
    public bool AllowDrag()
    Returns
    Type Description
    Boolean

    Awake()

    Declaration
    protected override void Awake()
    Overrides
    UIBehaviour.Awake()

    GetMouseButton(Int32)

    Declaration
    public override bool GetMouseButton(int button)
    Parameters
    Type Name Description
    Int32 button
    Returns
    Type Description
    Boolean
    Overrides
    BaseInput.GetMouseButton(Int32)

    GetMouseButtonDown(Int32)

    Declaration
    public override bool GetMouseButtonDown(int button)
    Parameters
    Type Name Description
    Int32 button
    Returns
    Type Description
    Boolean
    Overrides
    BaseInput.GetMouseButtonDown(Int32)

    GetMouseButtonUp(Int32)

    Declaration
    public override bool GetMouseButtonUp(int button)
    Parameters
    Type Name Description
    Int32 button
    Returns
    Type Description
    Boolean
    Overrides
    BaseInput.GetMouseButtonUp(Int32)

    OnDestroy()

    Declaration
    protected override void OnDestroy()
    Overrides
    UIBehaviour.OnDestroy()

    UpdateInput()

    Declaration
    public void UpdateInput()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023