docs.unity.cn
    Show / Hide Table of Contents

    Operator Addition

    Addition(uint3, uint3)

    Returns the result of a componentwise addition operation on two uint3 vectors.

    Declaration
    public static uint3 operator +(uint3 lhs, uint3 rhs)
    Parameters
    Type Name Description
    uint3 lhs

    Left hand side uint3 to use to compute componentwise addition.

    uint3 rhs

    Right hand side uint3 to use to compute componentwise addition.

    Returns
    Type Description
    uint3

    uint3 result of the componentwise addition.

    Addition(uint3, UInt32)

    Returns the result of a componentwise addition operation on a uint3 vector and a uint value.

    Declaration
    public static uint3 operator +(uint3 lhs, uint rhs)
    Parameters
    Type Name Description
    uint3 lhs

    Left hand side uint3 to use to compute componentwise addition.

    UInt32 rhs

    Right hand side uint to use to compute componentwise addition.

    Returns
    Type Description
    uint3

    uint3 result of the componentwise addition.

    Addition(UInt32, uint3)

    Returns the result of a componentwise addition operation on a uint value and a uint3 vector.

    Declaration
    public static uint3 operator +(uint lhs, uint3 rhs)
    Parameters
    Type Name Description
    UInt32 lhs

    Left hand side uint to use to compute componentwise addition.

    uint3 rhs

    Right hand side uint3 to use to compute componentwise addition.

    Returns
    Type Description
    uint3

    uint3 result of the componentwise addition.

    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