 | DirectionIsHorizontalDirection Method |
Indicates if the specified direction is a horizontal one (W, E) or a vertical one (N, S).
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static bool IsHorizontalDirection(
DirectionType direction
)
Public Shared Function IsHorizontalDirection (
direction As DirectionType
) As Boolean
public:
static bool IsHorizontalDirection(
DirectionType direction
)
static member IsHorizontalDirection :
direction : DirectionType -> bool
Parameters
- direction
- Type: Slash.Math.UtilsDirectionType
Direction to check.
Return Value
Type:
BooleanTrue if the specified direction is a horizontal one; otherwise, false.
See Also