Search Results for

    Show / Hide Table of Contents

    Method DistanceTo2D

    DistanceTo2D(Vector3)

    Calculates the distance between two vectors, ignoring the Z-component.

    Declaration
    public float DistanceTo2D(Vector3 position)
    Parameters
    Type Name Description
    Vector3 position

    The second vector to calculate the distance to.

    Returns
    Type Description
    System.Single

    The distance to the other vector.

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX