docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method acos

    acos(float)

    Returns the arccosine of a float value.

    Declaration
    public static float acos(float x)
    Parameters
    Type Name Description
    float x

    Input value.

    Returns
    Type Description
    float

    The arccosine of the input.

    acos(float2)

    Returns the componentwise arccosine of a float2 vector.

    Declaration
    public static float2 acos(float2 x)
    Parameters
    Type Name Description
    float2 x

    Input value.

    Returns
    Type Description
    float2

    The componentwise arccosine of the input.

    acos(float3)

    Returns the componentwise arccosine of a float3 vector.

    Declaration
    public static float3 acos(float3 x)
    Parameters
    Type Name Description
    float3 x

    Input value.

    Returns
    Type Description
    float3

    The componentwise arccosine of the input.

    acos(float4)

    Returns the componentwise arccosine of a float4 vector.

    Declaration
    public static float4 acos(float4 x)
    Parameters
    Type Name Description
    float4 x

    Input value.

    Returns
    Type Description
    float4

    The componentwise arccosine of the input.

    acos(double)

    Returns the arccosine of a double value.

    Declaration
    public static double acos(double x)
    Parameters
    Type Name Description
    double x

    Input value.

    Returns
    Type Description
    double

    The arccosine of the input.

    acos(double2)

    Returns the componentwise arccosine of a double2 vector.

    Declaration
    public static double2 acos(double2 x)
    Parameters
    Type Name Description
    double2 x

    Input value.

    Returns
    Type Description
    double2

    The componentwise arccosine of the input.

    acos(double3)

    Returns the componentwise arccosine of a double3 vector.

    Declaration
    public static double3 acos(double3 x)
    Parameters
    Type Name Description
    double3 x

    Input value.

    Returns
    Type Description
    double3

    The componentwise arccosine of the input.

    acos(double4)

    Returns the componentwise arccosine of a double4 vector.

    Declaration
    public static double4 acos(double4 x)
    Parameters
    Type Name Description
    double4 x

    Input value.

    Returns
    Type Description
    double4

    The componentwise arccosine of the input.

    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)