docs.unity.cn
    Show / Hide Table of Contents

    Operator Implicit

    Implicit(half to half2)

    Implicitly converts a single half value to a half2 vector by assigning it to every component.

    Declaration
    public static implicit operator half2(half v)
    Parameters
    Type Name Description
    half v

    half to convert to half2

    Returns
    Type Description
    half2

    Converted value.

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