Table of Contents

Class ObjectAssemblyTool

Namespace
KSP.OAB
Assembly
Assembly-CSharp.dll
public abstract class ObjectAssemblyTool : IObjectAssemblyTool, IDisposable
Inheritance
ObjectAssemblyTool
Implements
Derived
Inherited Members
Extension Methods

Constructors

ObjectAssemblyTool(ObjectAssemblyBuilderEvents, ObjectAssemblyUIEvents)

public ObjectAssemblyTool(ObjectAssemblyBuilderEvents eventSystemToUse, ObjectAssemblyUIEvents uiEventsToUse)

Parameters

eventSystemToUse ObjectAssemblyBuilderEvents
uiEventsToUse ObjectAssemblyUIEvents

Fields

_OAB_HUD

protected ObjectAssemblyBuilderHUD _OAB_HUD

Field Value

ObjectAssemblyBuilderHUD

events

protected ObjectAssemblyBuilderEvents events

Field Value

ObjectAssemblyBuilderEvents

initialized

protected bool initialized

Field Value

bool

outlineType

protected OABOutlineType outlineType

Field Value

OABOutlineType

uiEvents

protected ObjectAssemblyUIEvents uiEvents

Field Value

ObjectAssemblyUIEvents

Properties

OAB_HUD

public ObjectAssemblyBuilderHUD OAB_HUD { get; }

Property Value

ObjectAssemblyBuilderHUD

Methods

AddOutlineToObject(GameObject, int, bool)

protected virtual void AddOutlineToObject(GameObject objectToOutline, int colorIndex = 0, bool filterObjectsByName = true)

Parameters

objectToOutline GameObject
colorIndex int
filterObjectsByName bool

AddOutlinedPartToList(IObjectAssemblyPart, bool, int)

protected virtual void AddOutlinedPartToList(IObjectAssemblyPart part, bool includeChildParts, int outlineType = 1)

Parameters

part IObjectAssemblyPart
includeChildParts bool
outlineType int

ClearPartOutlines()

public virtual void ClearPartOutlines()

Dispose()

public virtual void Dispose()

GamepadRightStickPerformed()

public virtual void GamepadRightStickPerformed()

Initialize()

public virtual void Initialize()

OnCameraRotate()

public virtual void OnCameraRotate()

OnCameraRotateReleased()

public virtual void OnCameraRotateReleased()

OnUserCreatedPart(IObjectAssemblyPart)

public virtual void OnUserCreatedPart(IObjectAssemblyPart part)

Parameters

part IObjectAssemblyPart

PrimaryActionClick()

public virtual void PrimaryActionClick()

PrimaryActionDoubleClick()

public virtual void PrimaryActionDoubleClick()

Reset()

public virtual void Reset()

SecondaryActionClick()

public virtual void SecondaryActionClick()

SecondaryActionUp()

public virtual void SecondaryActionUp()

SectiondaryActionDown()

public virtual void SectiondaryActionDown()

SetOutlineType(OABOutlineType)

public virtual void SetOutlineType(OABOutlineType type)

Parameters

type OABOutlineType

SetOutlinedPart(IObjectAssemblyPart, bool)

public virtual void SetOutlinedPart(IObjectAssemblyPart part, bool includeChildren)

Parameters

part IObjectAssemblyPart
includeChildren bool

SetupCursorForTool()

public virtual void SetupCursorForTool()

Terminate()

public virtual void Terminate()

TertiaryActionClick()

public virtual void TertiaryActionClick()

TertiaryActionDown()

public virtual void TertiaryActionDown()

TertiaryActionUp()

public virtual void TertiaryActionUp()