Struct Touch | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Touch

    Namespace: UnityEngine.InputNew
    Syntax
    public struct Touch

    Fields

    delta

    Declaration
    public Vector2 delta
    Field Value
    Type Description
    Vector2

    deltaTime

    Declaration
    public float deltaTime
    Field Value
    Type Description
    Single

    diameter

    Declaration
    public float diameter
    Field Value
    Type Description
    Single

    fingerId

    Declaration
    public int fingerId
    Field Value
    Type Description
    Int32

    phase

    Declaration
    public TouchPhase phase
    Field Value
    Type Description
    TouchPhase

    position

    Declaration
    public Vector2 position
    Field Value
    Type Description
    Vector2

    rawPosition

    Declaration
    public Vector2 rawPosition
    Field Value
    Type Description
    Vector2

    time

    Declaration
    public float time
    Field Value
    Type Description
    Single

    Properties

    isValid

    Declaration
    public bool isValid { get; }
    Property Value
    Type Description
    Boolean
    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