Method GetClosest
GetClosest<T>(Vector3, T[])
Declaration
public static T GetClosest<T>(Vector3 position, params T[] spatials)
where T : ISpatial
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | |
T[] | spatials |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |