Table of Contents

Class Module_Color

Namespace
KSP.Modules
Assembly
Assembly-CSharp.dll
public class Module_Color : PartBehaviourModule, IPartModule, IFixedUpdate, IPriorityOverride, IUpdate, IObjectAssemblyPartModule
Inheritance
Module_Color
Implements
Inherited Members
Extension Methods

Constructors

Module_Color()

public Module_Color()

Fields

_dataColor

protected Data_Color _dataColor

Field Value

Data_Color

Properties

PartComponentModuleType

public override Type PartComponentModuleType { get; }

Property Value

Type

Methods

AddDataModules()

protected override void AddDataModules()

GetColors()

public (Color, Color) GetColors()

Returns

(Color, Color)

InitForNewOABPart()

public override void InitForNewOABPart()

OnInitialize()

protected override void OnInitialize()

OnModuleOABUpdate(float)

protected override void OnModuleOABUpdate(float dt)

Parameters

dt float

OnModuleUpdate(float)

protected override void OnModuleUpdate(float deltaTime)

Parameters

deltaTime float

OnShutdown()

protected override void OnShutdown()

RefreshColors()

public void RefreshColors()

SetColors(Color, Color)

public void SetColors(Color baseColor, Color accentColor)

Parameters

baseColor Color
accentColor Color