docs.unity.cn
    Show / Hide Table of Contents

    Operator LeftShift

    LeftShift(int4, Int32)

    Returns the result of a componentwise left shift operation on an int4 vector by a number of bits specified by a single int.

    Declaration
    public static int4 operator <<(int4 x, int n)
    Parameters
    Type Name Description
    int4 x

    The vector to left shift.

    Int32 n

    The number of bits to left shift.

    Returns
    Type Description
    int4

    The result of the componentwise left shift.

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