Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
ModuleProceduralFairing Class Reference
Inheritance diagram for ModuleProceduralFairing:
PartModule IPartMassModifier IPartCostModifier IScalarModule IModuleInfo IDynamicCargoOccluder IActivateOnDecouple

Public Member Functions

void BuildFairing ()
 
void DecoupleAction (string nodeName, bool weDecouple)
 
void DeleteFairing ()
 
void DeployFairing ()
 
void DeployFairingAction (KSPActionParam p)
 
void EditFairing ()
 
Callback< Rect > GetDrawModulePanelCallback ()
 Return a method delegate to draw a custom panel, or null if not necessary. More...
 
float GetFairingArea ()
 The total area (in sq units) of all panels in the fairing More...
 
override string GetInfo ()
 return a simple string for the module info. Supports rich-text syntax. More...
 
float GetModuleCost (float defaultCost, ModifierStagingSituation sit)
 Return the amount to modify the original part's dry cost by. Returned values are added to the base cost. (0 means no effect) More...
 
ModifierChangeWhen GetModuleCostChangeWhen ()
 Return under which circumstances the modulecost changes More...
 
override string GetModuleDisplayName ()
 Override this to provide a Localized version of the PartModules Name for UI components More...
 
float GetModuleMass (float defaultMass, ModifierStagingSituation sit)
 Return the amount to modify the original part's dry mass by. Returned values are added to the base mass. (0 means no effect) More...
 
ModifierChangeWhen GetModuleMassChangeWhen ()
 Return under which circumstances the modulemass changes More...
 
Vector3 GetModuleSize (Vector3 defaultSize, ModifierStagingSituation sit)
 
ModifierChangeWhen GetModuleSizeChangeWhen ()
 
string GetModuleTitle ()
 Return a string title for your module. More...
 
string GetPrimaryField ()
 Return a string to be displayed in the main information box on the tooltip, or null if nothing is that important to be up there. More...
 
bool IsMoving ()
 
override void OnActive ()
 Called when the part is set active (after unpacking etc) More...
 
override void OnAwake ()
 Method fires once the module has been added to the part. Use for first time setup. Module will not have loaded fully by this point More...
 
void OnChildAdd (Part child)
 Adds the recently added child flag by referencing the FairingHitCollider from the Editor logic. It will then try to add the flag to a fairing panel. This is called by the SendMessage sent by Part class. More...
 
void OnChildRemove (Part child)
 Removes the reference from the child flag by telling the fairingXSection and FairingPanel to remove it's flag reference by Part.craftID Nothing happens if the craftID sent is not found. More...
 
override void OnLoad (ConfigNode node)
 Use OnLoad to load any additional data from the ConfigNode provided More...
 
override void OnSave (ConfigNode node)
 Use OnSave to serialize additional module information into the ConfigNode provided More...
 
override void OnStart (PartModule.StartState state)
 
void SetScalar (float t)
 Call to tell the module to assume the given state. Mind transition may not happen instantly. Check GetScalar for the actual state of the thing. More...
 
void SetUIRead (bool state)
 Call to set whether or not the module will display its own UI. Read and Write define which kinds of information are allowed to be displayed More...
 
void SetUIWrite (bool state)
 Call to set whether or not the module will display its own UI. Read and Write define which kinds of information are allowed to be displayed More...
 
void SetupOcclusionTest (bool testActive)
 
- Public Member Functions inherited from PartModule
void AddPartModuleAdjuster (AdjusterPartModuleBase newAdjuster)
 Call this to add an adjuster to this part module. More...
 
void AddPartModuleAdjusterList (List< AdjusterPartModuleBase > moduleAdjusters)
 Applies the appropriate module adjusters. Performs checks to make sure that the adjusters are valid too. More...
 
bool AppliedUpgrades ()
 Returns true if upgrades are applied More...
 
void ApplyAdjustersOnStart ()
 Called when a part module is loaded and applies all of the currently loaded adjusters. More...
 
virtual void ApplyUpgradeNode (List< string > appliedUps, ConfigNode node, bool doLoad)
 Applies the upgrades to a confignode. Will either copy the upgrades back to the node or (if doLoad) calls load/onload on it. More...
 
virtual bool ApplyUpgrades (StartState state)
 Will find and apply upgrades. Called during Part's ModulesOnStart, before a module's OnStart. More...
 
void Awake ()
 
delegate bool boolPMApplyUpgrades (PartModule pm, StartState state)
 
delegate bool boolPMBoolDelegate (PartModule pm, bool apply)
 
void ClearPersistentId ()
 Clear the modules persistentId More...
 
void Copy (PartModule fromModule)
 
virtual void DemoteToPhysicslessPart ()
 This method will be called from Part class DemoteToPhysicslessPart when the part is being converted from physical to physicsless part. It is called before the joints and rigidbodies are destroyed. More...
 
virtual bool FindUpgrades (bool fillApplied, ConfigNode node=null)
 Find applicable upgrades to the partmodule (isunlocked and isenabled) and add to the upgradesApplied list. Pass true if you want to add the upgrades to upgradesApplied, false if you just want to know if at least one upgrade is applicable (unlocked rather than enabled) More...
 
virtual Color GetCurrentColor ()
 Returns the current part module color. More...
 
virtual Color GetCurrentColor (string fieldName)
 Returns the current part module color for a field where usespe. More...
 
uint GetPersistenActiontId ()
 Get the modules persistentID, and create one if it doesnt already have one More...
 
uint GetPersistentId ()
 Get the modules persistentID, and create one if it doesnt already have one More...
 
virtual string GetStagingDisableText ()
 
virtual string GetStagingEnableText ()
 
virtual string GetUpgradeInfo ()
 Called by Upgrade Stats dialog More...
 
bool HasUpgrades ()
 Returns true if upgrades exist for the partmodule More...
 
virtual bool IsStageable ()
 Should this module be counted when seeing whether to have a stack icon present? Override in a module for custom behavior; otherwise returns true if the module (or something the module inherits from above PartModule itself) overrides OnActive() More...
 
bool IsValidContractObjective (string objectiveType)
 Returns if, for example, an antenna part module qualifies as an antenna for contracts. More...
 
void Load (ConfigNode node)
 
virtual void LoadUpgrades (ConfigNode node)
 Loads module-relevant upgrades from the partmodule confignode More...
 
uint NewPersistentId ()
 Reset the modules persistentId to a new number More...
 
virtual void OnColorChanged (Color color)
 Meant to be overwritten by part modules implementing color changes. In this case, it doesn't matter which color picker changed specifically. More...
 
virtual void OnColorChanged (Color color, string pickerID="")
 Meant to be overwritten by part modules implementing color changes More...
 
virtual void OnConstructionModeFixedUpdate ()
 This method will be called when in EVA Construction mode and this part and itself is disabled (when it is not attached to a vessel) every FixedUpdate(). More...
 
virtual void OnConstructionModeUpdate ()
 This method will be called when in EVA Construction mode and this part and itself is disabled (when it is not attached to a vessel) every Update(). More...
 
virtual void OnCopy (PartModule fromModule)
 Use OnCopy to copy any additional data from the PartModule provided More...
 
virtual void OnFixedUpdate ()
 Called every physics/fixed frame that the part is active More...
 
virtual void OnIconCreate ()
 Method fires just before components are stripped from the gameobject to make it an icon. (The part is instantiated and then various components like Part, PartModule, EffectBehaviour, Colliders, Particles, etc are stripped and then it's set as the icon prefab. This lets PartModules do stuff to the model right before that happens. More...
 
virtual void OnInactive ()
 Called before the part goes inactive (after packing etc) More...
 
virtual void OnInitialize ()
 Called on all modules after all parts are loaded but before they give the ship to the game More...
 
virtual void OnInventoryModeDisable ()
 This method will be called when this modules part and itself is first disabled (when it is not attached to a vessel) when created in Inventory/Construction mode. More...
 
virtual void OnInventoryModeEnable ()
 This method will be called when this modules part and itself is first enabled (when it is attached to a vessel) when created in Inventory/Construction mode. More...
 
void OnModuleAdjusterAddedWrapper (AdjusterPartModuleBase adjuster)
 Wrapper to check the mission expansion availability before performing processing specific to this part module when an adjuster is added. More...
 
virtual void OnModuleAdjusterRemoved (AdjusterPartModuleBase adjuster)
 Perform processing specific to this part module when an adjuster is removed. By default this does nothing is up to each part module to implement it properly. More...
 
virtual void OnPartCreatedFomInventory (ModuleInventoryPart moduleInventoryPart)
 This method is called when a part is being taken out from a slot while being in EVAConstruction mode. More...
 
virtual void OnStart (StartState state)
 Called when the part starts. The StartState gives an indication of where in flight you are. All values may not be plugged in! More...
 
virtual void OnStartBeforePartAttachJoint (StartState state)
 Called in flight scene in Part.Start just before the Part attachnode joints are created. More...
 
virtual void OnStartFinished (StartState state)
 Called when the part finishes starting. The StartState gives an indication of where in flight you are. All values may not be plugged in! More...
 
virtual void OnStoredInInventory (ModuleInventoryPart moduleInventoryPart)
 Called when the part is stored in an inventory. More...
 
virtual void OnUpdate ()
 Called every frame that the part is active More...
 
virtual void OnWasCopied (PartModule copyPartModule, bool asSymCounterpart)
 Called when the PartModule was copied, through Alt+Copy or symmetry More...
 
virtual void OnWillBeCopied (bool asSymCounterpart)
 Called when the PartModule is about to be copied, through Alt+Copy or symmetry More...
 
virtual bool OnWillBeMirrored (ref Quaternion rotation, AttachNode selPartNode, Part partParent)
 This is called in the Editor scene when a symmetry copy of a part is being positioned. Only called on the symmetry parts and only when symmetry mode is set to Mirror. It allows the mirror rotation to be changed and returned before being applied to the symmetry copy part.

Parameters
rotationThe current calculated rotation. Will be updated if method returns true.
selPartNodeThe attachnode.
partParentThe part that will become this part's parent.
Returns
True if the rotation was changed. Otherwise will return false.
More...
 
virtual List< Color > PresetColors ()
 Preset colors received for any part module. By default, returns only black, override to make your own selection. More...
 
virtual string PrintUpgrades ()
 
virtual void PromoteToPhysicalPart ()
 This method will be called from Part class PromoteToPhysicalPart when the part is being converted from physicsless to physical part. More...
 
void RemovePartModuleAdjuster (AdjusterPartModuleBase oldAdjuster)
 Call this to remove an adjuster from this part module. More...
 
void RemovePartModuleAdjusterList (List< AdjusterPartModuleBase > moduleAdjusters)
 Removes the appropriate module adjusters. Performs checks to make sure that the adjusters are valid too. More...
 
void Save (ConfigNode node)
 
virtual void SetStaging (bool newValue)
 Run by the part's staging toggle handler, sets staging on modules on symmetry counterparts. More...
 
void SetStagingState (bool newState)
 Set the staging enabled bool for this module. More...
 
virtual bool StagingEnabled ()
 Gets current staging status (is staging enabled for this module) Override me! More...
 
virtual bool StagingToggleEnabledEditor ()
 
virtual bool StagingToggleEnabledFlight ()
 
void ToggleStaging ()
 
virtual void UpdateStagingToggle ()
 Updates the staging toggle More...
 
delegate void voidPMApplyNodeDelegate (PartModule pm, List< string > appliedUps, ConfigNode node, bool doLoad)
 
delegate void voidPMDelegate (PartModule pm)
 
delegate void voidPMNodeDelegate (PartModule pm, ConfigNode node)
 

Public Attributes

float aberrantNormalLimit = 45.0f
 
Vector3 axis = Vector3.up
 
string BaseModelTransformName = "Base"
 
float baseRadius = 1.25f
 
float capRadius = 0.375f
 
string CapTextureNormalURL = ""
 
string CapTextureURL = ""
 
List< MeshCollider > ClosedColliders
 
float coneSweepPrecision = 10f
 1/precision = units/frame More...
 
int coneSweepRays = 120
 rays per sweep More...
 
string DefaultBaseNormalsURL = "Squad/Parts/Aero/fairings/FairingBaseNormals"
 
string DefaultBaseTextureURL = "Squad/Parts/Aero/fairings/FairingBase"
 
float edgeSlide = 0.1f
 
float edgeWarp = 0.02f
 
string editingBlocked
 Part action group label string in order to display a notification of why the fairing is locked. More...
 
float ejectionForce = 100f
 
Material FairingConeMaterial
 
Material FairingFlightConeMaterial
 
Material FairingFlightMaterial
 
Material FairingMaterial
 
string fairingNode = "top"
 
uint interstageCraftID = 0
 
float interstageOcclusionFudge = 1.03f
 
bool isCapped = true
 
bool isFadeLocked = false
 
float maxRadius = 6f
 
float minHeightRadiusRatio = 0.07f
 
string moduleID = "fairing"
 
float nArcs = 3
 
int nCollidersPerArc
 
int nCollidersPerXSection = 12
 
float noseTip = 0.5f
 
int nSides = 48
 
int panelGrouping = 3
 
List< FairingPanelPanels
 
Vector3 pivot = Vector3.zero
 
float snapThreshold = 0.25f
 
float snapThresholdFineAdjust = 0.01f
 
string TextureNormalURL = ""
 
string TextureURL = ""
 
float UnitAreaCost = 10f
 cost per sqr unit of paneling More...
 
float UnitAreaMass = 0.04f
 mass per square unit of paneling More...
 
bool useClamshell = false
 
float xSectionHeightMax = 3f
 
float xSectionHeightMaxFineAdjust = 4f
 
float xSectionHeightMin = 0.3f
 
float xSectionHeightMinFineAdjust = 0.03f
 
List< FairingXSectionxSections
 
- Public Attributes inherited from PartModule
bool isEnabled = true
 
bool moduleIsEnabled = true
 
string moduleName
 
bool overrideStagingIconIfBlank = true
 
ModuleResourceHandler resHandler = new ModuleResourceHandler()
 
bool showUpgradesInModuleInfo = false
 
ProtoPartModuleSnapshot snapshot
 
string stagingDisableText = ""
 
bool stagingEnabled = true
 
string stagingEnableText = ""
 
bool stagingToggleEnabledEditor = false
 
bool stagingToggleEnabledFlight = false
 
List< ConfigNodeupgrades
 
List< string > upgradesApplied = new List<string>()
 
bool upgradesApply = true
 
bool upgradesAsk = true
 

Protected Member Functions

void OpenFairing (object field)
 
void PayloadStrutsSetup ()
 
void ReleasePayload ()
 
- Protected Member Functions inherited from PartModule
ConfigNode GetUpgrade (string name)
 
virtual void LoadUpgradesApplied (List< string > applieds, ConfigNode node)
 Load the applied upgrade names More...
 
virtual void OnModuleAdjusterAdded (AdjusterPartModuleBase adjuster)
 Perform processing specific to this part module when an adjuster is added. By default this does nothing is up to each part module to implement it properly. More...
 
virtual void SaveUpgradesApplied (ConfigNode node)
 Save the applied upgrades. More...
 
IEnumerator UpgradeWaitForScenarioModules ()
 

Properties

bool CanMove [get]
 
float GetScalar [get]
 
EventData< float, float > OnMoving [get]
 
EventData< float > OnStop [get]
 
string ScalarModuleID [get]
 
- Properties inherited from PartModule
BaseActionList Actions [get]
 
int ClassID [get]
 
string ClassName [get]
 
List< AdjusterPartModuleBaseCurrentModuleAdjusterList [get]
 List of all the module adjusters that are currently active on this part module. More...
 
BaseEventList Events [get]
 
BaseFieldList Fields [get]
 
string GUIName [get]
 
bool HasAdjusters [get]
 Has this part module been adjusted? More...
 
ReflectedAttributes ModuleAttributes [get, set]
 
Part part [get, set]
 
uint PersistentActionsId [get, set]
 A unique identifier for each vessel including from when it was Shipconstruct More...
 
uint PersistentId [get]
 A unique identifier for each vessel including from when it was Shipconstruct More...
 
Vessel vessel [get]
 
- Properties inherited from IScalarModule
bool CanMove [get]
 A flag stating whether or not the module is able to change state at all. More...
 
float GetScalar [get]
 
EventData< float, float > OnMoving [get]
 
EventData< float > OnStop [get]
 
string ScalarModuleID [get]
 

Additional Inherited Members

- Public Types inherited from PartModule
enum  PartUpgradeState { PartUpgradeState.NONE, PartUpgradeState.LOCKED, PartUpgradeState.AVAILABLE }
 
enum  StartState {
  StartState.None = 0, StartState.Editor = 1, StartState.PreLaunch = 2, StartState.Landed = 4,
  StartState.Docked = 8, StartState.Flying = 16, StartState.Splashed = 32, StartState.SubOrbital = 64,
  StartState.Orbital = 128
}
 
- Static Public Member Functions inherited from PartModule
static ReflectedAttributes GetReflectedAttributes (Type partModuleType)
 
static PartUpgradeState UpgradesAvailable (Part part)
 Returns true if at least one module on the part has at least one upgrade available (isUnlocked) More...
 
static PartUpgradeState UpgradesAvailable (Part part, ConfigNode node)
 Returns true if at least one module on the part has at least one upgrade available (isUnlocked) More...
 
- Static Public Attributes inherited from PartModule
static voidPMApplyNodeDelegate ApplyUpgradeNodeDel
 
static boolPMApplyUpgrades ApplyUpgradesDel
 
static bool ApplyUpgradesEditorAuto = true
 
static boolPMBoolDelegate FindUpgradesDel
 
static voidPMNodeDelegate LoadExpansionNodes
 Hook for loading extra nodes common to all part modules. More...
 
static voidPMNodeDelegate LoadUpgradesDel
 
static voidPMNodeDelegate SaveExpansionNodes
 Hook for saving extra nodes common to all part modules. More...
 
static voidPMDelegate SetupExpansion
 Hook for performing extra setup common to all part modules. More...
 
static string UpgradesAvailableString = "#autoLOC_6002273"
 
static string UpgradesLockedString = "#autoLOC_6002274"
 
- Static Protected Attributes inherited from PartModule
static Dictionary< string,
ConfigNode
exclusives = new Dictionary<string, ConfigNode>()
 
static Dictionary< Type,
ReflectedAttributes
reflectedAttributeCache = new Dictionary<Type, ReflectedAttributes>()
 

Member Function Documentation

void ModuleProceduralFairing.BuildFairing ( )
inline
void ModuleProceduralFairing.DecoupleAction ( string  nodeName,
bool  weDecouple 
)
inline

Implements IActivateOnDecouple.

void ModuleProceduralFairing.DeleteFairing ( )
inline
void ModuleProceduralFairing.DeployFairing ( )
inline
void ModuleProceduralFairing.DeployFairingAction ( KSPActionParam  p)
inline
void ModuleProceduralFairing.EditFairing ( )
inline
Callback<Rect> ModuleProceduralFairing.GetDrawModulePanelCallback ( )
inline

Return a method delegate to draw a custom panel, or null if not necessary.

Parameters
rect

Implements IModuleInfo.

float ModuleProceduralFairing.GetFairingArea ( )
inline

The total area (in sq units) of all panels in the fairing

Returns
override string ModuleProceduralFairing.GetInfo ( )
inline

return a simple string for the module info. Supports rich-text syntax.

Returns

Implements IModuleInfo.

float ModuleProceduralFairing.GetModuleCost ( float  defaultCost,
ModifierStagingSituation  sit 
)
inline

Return the amount to modify the original part's dry cost by. Returned values are added to the base cost. (0 means no effect)

Returns

Implements IPartCostModifier.

ModifierChangeWhen ModuleProceduralFairing.GetModuleCostChangeWhen ( )
inline

Return under which circumstances the modulecost changes

Returns

Implements IPartCostModifier.

override string ModuleProceduralFairing.GetModuleDisplayName ( )
inlinevirtual

Override this to provide a Localized version of the PartModules Name for UI components

Returns

Reimplemented from PartModule.

float ModuleProceduralFairing.GetModuleMass ( float  defaultMass,
ModifierStagingSituation  sit 
)
inline

Return the amount to modify the original part's dry mass by. Returned values are added to the base mass. (0 means no effect)

Returns

Implements IPartMassModifier.

ModifierChangeWhen ModuleProceduralFairing.GetModuleMassChangeWhen ( )
inline

Return under which circumstances the modulemass changes

Returns

Implements IPartMassModifier.

Vector3 ModuleProceduralFairing.GetModuleSize ( Vector3  defaultSize,
ModifierStagingSituation  sit 
)
inline
ModifierChangeWhen ModuleProceduralFairing.GetModuleSizeChangeWhen ( )
inline
string ModuleProceduralFairing.GetModuleTitle ( )
inline

Return a string title for your module.

Returns

Implements IModuleInfo.

string ModuleProceduralFairing.GetPrimaryField ( )
inline

Return a string to be displayed in the main information box on the tooltip, or null if nothing is that important to be up there.

Returns

Implements IModuleInfo.

bool ModuleProceduralFairing.IsMoving ( )
inline

Implements IScalarModule.

override void ModuleProceduralFairing.OnActive ( )
inlinevirtual

Called when the part is set active (after unpacking etc)

Reimplemented from PartModule.

override void ModuleProceduralFairing.OnAwake ( )
inlinevirtual

Method fires once the module has been added to the part. Use for first time setup. Module will not have loaded fully by this point

< in case it was serialized over to a clone

Reimplemented from PartModule.

void ModuleProceduralFairing.OnChildAdd ( Part  child)
inline

Adds the recently added child flag by referencing the FairingHitCollider from the Editor logic. It will then try to add the flag to a fairing panel. This is called by the SendMessage sent by Part class.

Parameters
childChild Flag Part
void ModuleProceduralFairing.OnChildRemove ( Part  child)
inline

Removes the reference from the child flag by telling the fairingXSection and FairingPanel to remove it's flag reference by Part.craftID Nothing happens if the craftID sent is not found.

Parameters
childChild Flag Part
override void ModuleProceduralFairing.OnLoad ( ConfigNode  node)
inlinevirtual

Use OnLoad to load any additional data from the ConfigNode provided

Parameters
node

Reimplemented from PartModule.

override void ModuleProceduralFairing.OnSave ( ConfigNode  node)
inlinevirtual

Use OnSave to serialize additional module information into the ConfigNode provided

Parameters
node

Reimplemented from PartModule.

override void ModuleProceduralFairing.OnStart ( PartModule.StartState  state)
inline
void ModuleProceduralFairing.OpenFairing ( object  field)
inlineprotected
void ModuleProceduralFairing.PayloadStrutsSetup ( )
inlineprotected
void ModuleProceduralFairing.ReleasePayload ( )
inlineprotected
void ModuleProceduralFairing.SetScalar ( float  t)
inline

Call to tell the module to assume the given state. Mind transition may not happen instantly. Check GetScalar for the actual state of the thing.

Parameters
s

Implements IScalarModule.

void ModuleProceduralFairing.SetUIRead ( bool  state)
inline

Call to set whether or not the module will display its own UI. Read and Write define which kinds of information are allowed to be displayed

Implements IScalarModule.

void ModuleProceduralFairing.SetUIWrite ( bool  state)
inline

Call to set whether or not the module will display its own UI. Read and Write define which kinds of information are allowed to be displayed

Implements IScalarModule.

void ModuleProceduralFairing.SetupOcclusionTest ( bool  testActive)
inline

Implements IDynamicCargoOccluder.

Member Data Documentation

float ModuleProceduralFairing.aberrantNormalLimit = 45.0f
Vector3 ModuleProceduralFairing.axis = Vector3.up
string ModuleProceduralFairing.BaseModelTransformName = "Base"
float ModuleProceduralFairing.baseRadius = 1.25f
float ModuleProceduralFairing.capRadius = 0.375f
string ModuleProceduralFairing.CapTextureNormalURL = ""
string ModuleProceduralFairing.CapTextureURL = ""
List<MeshCollider> ModuleProceduralFairing.ClosedColliders
float ModuleProceduralFairing.coneSweepPrecision = 10f

1/precision = units/frame

int ModuleProceduralFairing.coneSweepRays = 120

rays per sweep

string ModuleProceduralFairing.DefaultBaseNormalsURL = "Squad/Parts/Aero/fairings/FairingBaseNormals"
string ModuleProceduralFairing.DefaultBaseTextureURL = "Squad/Parts/Aero/fairings/FairingBase"
float ModuleProceduralFairing.edgeSlide = 0.1f
float ModuleProceduralFairing.edgeWarp = 0.02f
string ModuleProceduralFairing.editingBlocked

Part action group label string in order to display a notification of why the fairing is locked.

float ModuleProceduralFairing.ejectionForce = 100f
Material ModuleProceduralFairing.FairingConeMaterial
Material ModuleProceduralFairing.FairingFlightConeMaterial
Material ModuleProceduralFairing.FairingFlightMaterial
Material ModuleProceduralFairing.FairingMaterial
string ModuleProceduralFairing.fairingNode = "top"
uint ModuleProceduralFairing.interstageCraftID = 0
float ModuleProceduralFairing.interstageOcclusionFudge = 1.03f
bool ModuleProceduralFairing.isCapped = true
bool ModuleProceduralFairing.isFadeLocked = false
float ModuleProceduralFairing.maxRadius = 6f
float ModuleProceduralFairing.minHeightRadiusRatio = 0.07f
string ModuleProceduralFairing.moduleID = "fairing"
float ModuleProceduralFairing.nArcs = 3
int ModuleProceduralFairing.nCollidersPerArc
int ModuleProceduralFairing.nCollidersPerXSection = 12
float ModuleProceduralFairing.noseTip = 0.5f
int ModuleProceduralFairing.nSides = 48
int ModuleProceduralFairing.panelGrouping = 3
List<FairingPanel> ModuleProceduralFairing.Panels
Vector3 ModuleProceduralFairing.pivot = Vector3.zero
float ModuleProceduralFairing.snapThreshold = 0.25f
float ModuleProceduralFairing.snapThresholdFineAdjust = 0.01f
string ModuleProceduralFairing.TextureNormalURL = ""
string ModuleProceduralFairing.TextureURL = ""
float ModuleProceduralFairing.UnitAreaCost = 10f

cost per sqr unit of paneling

float ModuleProceduralFairing.UnitAreaMass = 0.04f

mass per square unit of paneling

bool ModuleProceduralFairing.useClamshell = false
float ModuleProceduralFairing.xSectionHeightMax = 3f
float ModuleProceduralFairing.xSectionHeightMaxFineAdjust = 4f
float ModuleProceduralFairing.xSectionHeightMin = 0.3f
float ModuleProceduralFairing.xSectionHeightMinFineAdjust = 0.03f
List<FairingXSection> ModuleProceduralFairing.xSections

Property Documentation

bool ModuleProceduralFairing.CanMove
get
float ModuleProceduralFairing.GetScalar
get
EventData<float, float> ModuleProceduralFairing.OnMoving
get
EventData<float> ModuleProceduralFairing.OnStop
get
string ModuleProceduralFairing.ScalarModuleID
get

The documentation for this class was generated from the following file: