Class Module_Fairing
- Namespace
- KSP.Modules
- Assembly
- Assembly-CSharp.dll
public class Module_Fairing : PartBehaviourModule, IPartModule, IFixedUpdate, IPriorityOverride, IUpdate, IObjectAssemblyPartModule, IDynamicCargoOccluder
- Inheritance
-
Module_Fairing
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
Module_Fairing()
Fields
ClosedColliders
public List<MeshCollider> ClosedColliders
Field Value
- List<MeshCollider>
FAIRING_PROCEDURAL_DRAG_CUBE_NAME
public static string FAIRING_PROCEDURAL_DRAG_CUBE_NAME
Field Value
- string
FAIRING_PROCEDURAL_FLIGHT_MAT
public static string FAIRING_PROCEDURAL_FLIGHT_MAT
Field Value
- string
FAIRING_PROCEDURAL_MAT
public static string FAIRING_PROCEDURAL_MAT
Field Value
- string
NodeRings
public List<AttachNodeRing> NodeRings
Field Value
- List<AttachNodeRing>
NumberOfCollidersPerArc
public int NumberOfCollidersPerArc
Field Value
- int
Panels
public List<FairingPanel> Panels
Field Value
- List<FairingPanel>
VisualizationModes
public List<FairingVisualizationMode> VisualizationModes
Field Value
- List<FairingVisualizationMode>
Properties
FairingConstructing
public bool FairingConstructing { get; }
Property Value
- bool
IsAutomated
public bool IsAutomated { get; }
Property Value
- bool
PartComponentModuleType
public override Type PartComponentModuleType { get; }
Property Value
- Type
SnapIncrement
public float SnapIncrement { get; }
Property Value
- float
Methods
AddDataModules()
protected override void AddDataModules()
GetCurrentCrossSection()
public FairingCrossSection GetCurrentCrossSection()
Returns
- FairingCrossSection
GetFairingArea()
public float GetFairingArea()
Returns
- float
GetFairingBounds()
public Bounds GetFairingBounds()
Returns
- Bounds
GetModuleDisplayName()
public override string GetModuleDisplayName()
Returns
- string
OnDeployTypeChanged(FairingDeployType)
protected void OnDeployTypeChanged(FairingDeployType newType)
Parameters
newType FairingDeployType
OnEnterEdit()
public void OnEnterEdit()
OnExitEdit(bool, bool)
public void OnExitEdit(bool saveChanges, bool isSymmetrySibling = false)
Parameters
saveChanges bool
isSymmetrySibling bool
OnInitialize()
protected override void OnInitialize()
OnModuleOABFixedUpdate(float)
protected override void OnModuleOABFixedUpdate(float fixedDeltaTime)
Parameters
fixedDeltaTime float
OnNodeRingCountChanged(int, object)
protected virtual void OnNodeRingCountChanged(int newValue, object sender)
Parameters
newValue int
sender object
OnNodeRingDistanceChanged(float, object)
protected virtual void OnNodeRingDistanceChanged(float newValue, object sender)
Parameters
newValue float
sender object
OnNodeRingSizeChanged(int, object)
protected virtual void OnNodeRingSizeChanged(int newValue, object sender)
Parameters
newValue int
sender object
OnRingChangedState(bool, object)
protected virtual void OnRingChangedState(bool newState, object sender)
Parameters
newState bool
sender object
OnRingUnplace()
public void OnRingUnplace()
OnShutdown()
protected override void OnShutdown()
OnVisibilityChanged()
public void OnVisibilityChanged()
public void PerformJettison()
public void PerformJettison(bool fairingNodeOccupied, bool createPhysicsObjects)
Parameters
fairingNodeOccupied bool
createPhysicsObjects bool
public void SetPieceGroupsParent(Transform newParent)
Parameters
newParent Transform
SetupOcclusionTest(bool)
public void SetupOcclusionTest(bool testActive)
Parameters
testActive bool
UpdateScale(float, float, bool)
public void UpdateScale(float addedRadius, float addedHeight, bool isSnapEnabled)
Parameters
addedRadius float
addedHeight float
isSnapEnabled bool