docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor HalfVector4

    HalfVector4(Vector4)

    Constructor

    Declaration
    public HalfVector4(Vector4 vector4)
    Parameters
    Type Name Description
    Vector4 vector4

    The initial axial values (converted to half floats) when instantiated.

    HalfVector4(float, float, float, float)

    Constructor

    Declaration
    public HalfVector4(float x, float y, float z, float w)
    Parameters
    Type Name Description
    float x

    The initial x axis (converted to half float) value when instantiated.

    float y

    The initial y axis (converted to half float) value when instantiated.

    float z

    The initial z axis (converted to half float) value when instantiated.

    float w

    The initial w axis (converted to half float) value when instantiated.

    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)