Table of Contents

Class NavigationExtension

Namespace
KSP.Navigation
Assembly
Assembly-CSharp.dll
public static class NavigationExtension
Inheritance
NavigationExtension
Inherited Members

Methods

Contains<T>(T[], T)

public static bool Contains<T>(this T[] array, T element) where T : class

Parameters

array T[]
element T

Returns

bool

Type Parameters

T

FindElementByDirection(SelectableElementInfo, in MoveDirection, in List<SelectableElementInfo>, NavigationParameter)

public static SelectableElementInfo FindElementByDirection(this SelectableElementInfo baseInfo, in MoveDirection dir, in List<SelectableElementInfo> elements, NavigationParameter parameters)

Parameters

baseInfo SelectableElementInfo
dir MoveDirection
elements List<SelectableElementInfo>
parameters NavigationParameter

Returns

SelectableElementInfo

FindElementByDirection(Vector2, MoveDirection, in List<SelectableElementInfo>, NavigationParameter)

public static SelectableElementInfo FindElementByDirection(this Vector2 point, MoveDirection direction, in List<SelectableElementInfo> elements, NavigationParameter parameters)

Parameters

point Vector2
direction MoveDirection
elements List<SelectableElementInfo>
parameters NavigationParameter

Returns

SelectableElementInfo

Positive(float)

public static float Positive(this float value)

Parameters

value float

Returns

float