docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator implicit operator

    implicit operator half3(half)

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

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

    half to convert to half3

    Returns
    Type Description
    half3

    Converted value.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)