docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator implicit operator

    implicit operator int3(int)

    Implicitly converts a single int value to a int3 vector by assigning it to every component.

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

    int to convert to int3

    Returns
    Type Description
    int3

    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)