Struct Vector2d | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Vector2d

    Namespace: Unity.UIWidgets.ui
    Syntax
    public struct Vector2d

    Constructors

    Vector2d(Single, Single)

    Declaration
    public Vector2d(float x = 0F, float y = 0F)
    Parameters
    Type Name Description
    System.Single x
    System.Single y

    Fields

    x

    Declaration
    public float x
    Field Value
    Type Description
    System.Single

    y

    Declaration
    public float y
    Field Value
    Type Description
    System.Single

    Operators

    Addition(Vector2d, Vector2d)

    Declaration
    public static Vector2d operator +(Vector2d a, Vector2d b)
    Parameters
    Type Name Description
    Vector2d a
    Vector2d b
    Returns
    Type Description
    Vector2d

    Subtraction(Vector2d, Vector2d)

    Declaration
    public static Vector2d operator -(Vector2d a, Vector2d b)
    Parameters
    Type Name Description
    Vector2d a
    Vector2d b
    Returns
    Type Description
    Vector2d
    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