Table of Contents

Class ModelViewMap

Namespace
KSP.Sim.impl
Assembly
Assembly-CSharp.dll
public class ModelViewMap : IModelViewMap
Inheritance
ModelViewMap
Implements
Inherited Members
Extension Methods

Constructors

ModelViewMap()

public ModelViewMap()

Methods

Bind(SimulationObjectModel, SimulationObjectView, bool)

public void Bind(SimulationObjectModel model, SimulationObjectView view, bool allowRebind = true)

Parameters

model SimulationObjectModel
view SimulationObjectView
allowRebind bool

Clear()

public void Clear()

FromModel(SimulationObjectModel)

public SimulationObjectView FromModel(SimulationObjectModel simObject)

Parameters

simObject SimulationObjectModel

Returns

SimulationObjectView

FromView(SimulationObjectView)

public SimulationObjectModel FromView(SimulationObjectView viewObject)

Parameters

viewObject SimulationObjectView

Returns

SimulationObjectModel

Unbind(SimulationObjectView)

public void Unbind(SimulationObjectView view)

Parameters

view SimulationObjectView