Class WorldExtensions
Inheritance
System.Object
WorldExtensions
Assembly: Eco.Shared.dll
Syntax
public static class WorldExtensions : Object
Methods
DescribeDistance(Vector2, Vector2, Boolean)
Declaration
public static LocString DescribeDistance(this Vector2 mypos, Vector2 otherPos, bool shortDesc = false)
Parameters
Type |
Name |
Description |
Vector2 |
mypos |
|
Vector2 |
otherPos |
|
System.Boolean |
shortDesc |
|
Returns
DescribeDistance(Vector2, Single, Boolean)
Declaration
public static LocString DescribeDistance(this Vector2 toDest, float dist, bool shortDesc = false)
Parameters
Type |
Name |
Description |
Vector2 |
toDest |
|
System.Single |
dist |
|
System.Boolean |
shortDesc |
|
Returns
DescribeDistance(IPositionAndBounds, IPositionAndBounds, Boolean)
Declaration
public static LocString DescribeDistance(IPositionAndBounds me, IPositionAndBounds other, bool shortDesc = false)
Parameters
Returns
DescribeDistance(Vector3, Vector3, Boolean)
Declaration
public static LocString DescribeDistance(this Vector3 mypos, Vector3 otherPos, bool shortDesc = false)
Parameters
Type |
Name |
Description |
System.Numerics.Vector3 |
mypos |
|
System.Numerics.Vector3 |
otherPos |
|
System.Boolean |
shortDesc |
|
Returns