Search Results for

    Show / Hide Table of Contents

    Method GetClosestProp

    GetClosestProp(Vector3, Single, Model[])

    Gets the closest Prop to a given position in the World.

    Declaration
    public static Prop GetClosestProp(Vector3 position, float radius, params Model[] models)
    Parameters
    Type Name Description
    Vector3 position

    The position to find the nearest Prop.

    System.Single radius

    The maximum distance from the position to detect Props.

    Model[] models

    The Model of Props to get, leave blank for all Prop Models.

    Returns
    Type Description
    Prop
    Remarks

    Returns null if no Prop was in the given region.

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