docs.unity.cn
    Show / Hide Table of Contents

    Operator Explicit

    Explicit(Boolean to int2x3)

    Explicitly converts a single bool value to a int2x3 matrix by converting it to int and assigning it to every component.

    Declaration
    public static explicit operator int2x3(bool v)
    Parameters
    Type Name Description
    Boolean v

    bool to convert to int2x3

    Returns
    Type Description
    int2x3

    Converted value.

    Explicit(bool2x3 to int2x3)

    Explicitly converts a bool2x3 matrix to a int2x3 matrix by componentwise conversion.

    Declaration
    public static explicit operator int2x3(bool2x3 v)
    Parameters
    Type Name Description
    bool2x3 v

    bool2x3 to convert to int2x3

    Returns
    Type Description
    int2x3

    Converted value.

    Explicit(UInt32 to int2x3)

    Explicitly converts a single uint value to a int2x3 matrix by converting it to int and assigning it to every component.

    Declaration
    public static explicit operator int2x3(uint v)
    Parameters
    Type Name Description
    UInt32 v

    uint to convert to int2x3

    Returns
    Type Description
    int2x3

    Converted value.

    Explicit(uint2x3 to int2x3)

    Explicitly converts a uint2x3 matrix to a int2x3 matrix by componentwise conversion.

    Declaration
    public static explicit operator int2x3(uint2x3 v)
    Parameters
    Type Name Description
    uint2x3 v

    uint2x3 to convert to int2x3

    Returns
    Type Description
    int2x3

    Converted value.

    Explicit(Single to int2x3)

    Explicitly converts a single float value to a int2x3 matrix by converting it to int and assigning it to every component.

    Declaration
    public static explicit operator int2x3(float v)
    Parameters
    Type Name Description
    Single v

    float to convert to int2x3

    Returns
    Type Description
    int2x3

    Converted value.

    Explicit(float2x3 to int2x3)

    Explicitly converts a float2x3 matrix to a int2x3 matrix by componentwise conversion.

    Declaration
    public static explicit operator int2x3(float2x3 v)
    Parameters
    Type Name Description
    float2x3 v

    float2x3 to convert to int2x3

    Returns
    Type Description
    int2x3

    Converted value.

    Explicit(Double to int2x3)

    Explicitly converts a single double value to a int2x3 matrix by converting it to int and assigning it to every component.

    Declaration
    public static explicit operator int2x3(double v)
    Parameters
    Type Name Description
    Double v

    double to convert to int2x3

    Returns
    Type Description
    int2x3

    Converted value.

    Explicit(double2x3 to int2x3)

    Explicitly converts a double2x3 matrix to a int2x3 matrix by componentwise conversion.

    Declaration
    public static explicit operator int2x3(double2x3 v)
    Parameters
    Type Name Description
    double2x3 v

    double2x3 to convert to int2x3

    Returns
    Type Description
    int2x3

    Converted value.

    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