Click or drag to resize
DirectionToVector2I Method
Converts the specified direction into a vector.

Namespace: Slash.Math.Utils
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static Vector2I ToVector2I(
	DirectionType direction
)

Parameters

direction
Type: Slash.Math.UtilsDirectionType
Direction to convert.

Return Value

Type: Vector2I
Vector pointing in the specified direction.
See Also