Table of Contents

Class ObjectOutlinesManager

Namespace
KSP.Utilities
Assembly
Assembly-CSharp.dll
public class ObjectOutlinesManager : KerbalMonoBehaviour
Inheritance
ObjectOutlinesManager
Inherited Members
Extension Methods

Constructors

ObjectOutlinesManager()

public ObjectOutlinesManager()

Fields

FilterGameObjectsByName

public bool FilterGameObjectsByName

Field Value

bool

GameObjectNameFilterWords

public List<string> GameObjectNameFilterWords

Field Value

List<string>

LayerId

public int LayerId

Field Value

int

OutlineDisabledRenderers

public bool OutlineDisabledRenderers

Field Value

bool

_outlined

protected readonly HashSet<Outline> _outlined

Field Value

HashSet<Outline>

_outlinedObjects

protected readonly HashSet<GameObject> _outlinedObjects

Field Value

HashSet<GameObject>

lineColors

public Color[] lineColors

Field Value

Color[]

Properties

LayerName

public string LayerName { get; }

Property Value

string

Methods

AddOutlineToOABPart(IObjectAssemblyPart, bool, int)

public void AddOutlineToOABPart(IObjectAssemblyPart part, bool includeChildParts, int colorIndex = 0)

Parameters

part IObjectAssemblyPart
includeChildParts bool
colorIndex int

AddOutlineToObject(GameObject, int)

public void AddOutlineToObject(GameObject objectToOutline, int colorIndex = 0)

Parameters

objectToOutline GameObject
colorIndex int

AddOutlineToPart(PartBehavior, int)

public void AddOutlineToPart(PartBehavior part, int colorIndex = 0)

Parameters

part PartBehavior
colorIndex int

ClearOutlines()

public void ClearOutlines()

SetLayer(string)

public void SetLayer(string layerName)

Parameters

layerName string