docs.unity.cn
    Show / Hide Table of Contents

    Operator Implicit

    Implicit(Int32 to int2x2)

    Implicitly converts a single int value to a int2x2 matrix by assigning it to every component.

    Declaration
    public static implicit operator int2x2(int v)
    Parameters
    Type Name Description
    Int32 v

    int to convert to int2x2

    Returns
    Type Description
    int2x2

    Converted value.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 29, 2022
    Terms of use