docs.unity.cn
    Show / Hide Table of Contents

    Method acos

    acos(Single)

    Returns the arccosine of a float value.

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

    Input value.

    Returns
    Type Description
    Single

    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.

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