Class AttachNodeData
- Namespace
- KSP.Sim
- Assembly
- Assembly-CSharp.dll
public class AttachNodeData
- Inheritance
-
AttachNodeData
- Inherited Members
-
- Extension Methods
-
Constructors
AttachNodeData(string, PartComponent)
public AttachNodeData(string nodeId, PartComponent owner)
Parameters
nodeId string
owner PartComponent
Fields
IsDynamic
Field Value
- bool
Properties
AllowCrossfeed
public bool AllowCrossfeed { get; }
Property Value
- bool
AngularStrengthMultiplier
public float AngularStrengthMultiplier { get; set; }
Property Value
- float
AttachMethod
public AttachNodeMethod AttachMethod { get; set; }
Property Value
- AttachNodeMethod
AttachOwner
public PartComponent AttachOwner { get; set; }
Property Value
- PartComponent
AttachedPart
public PartComponent AttachedPart { get; set; }
Property Value
- PartComponent
AttachedPartNodeID
public string AttachedPartNodeID { get; set; }
Property Value
- string
public float ContactArea { get; set; }
Property Value
- float
IsCompoundJoint
public bool IsCompoundJoint { get; set; }
Property Value
- bool
IsMultiJoint
public bool IsMultiJoint { get; set; }
Property Value
- bool
IsRigid
public bool IsRigid { get; set; }
Property Value
- bool
MultiJointFullBreakStrength
public bool MultiJointFullBreakStrength { get; set; }
Property Value
- bool
MultiJointMaxJoint
public int MultiJointMaxJoint { get; set; }
Property Value
- int
MultiJointOnSingleAxis
public bool MultiJointOnSingleAxis { get; set; }
Property Value
- bool
MultiJointRadiusOffset
public float MultiJointRadiusOffset { get; set; }
Property Value
- float
NodeId
public string NodeId { get; }
Property Value
- string
NodeType
public AttachNodeType NodeType { get; set; }
Property Value
- AttachNodeType
Orientation
public Vector3d Orientation { get; set; }
Property Value
- Vector3d
OverrideDragArea
public float OverrideDragArea { get; set; }
Property Value
- float
Position
public Vector3d Position { get; set; }
Property Value
- Vector3d
SingleJointAxis
public TransformDirAxis SingleJointAxis { get; set; }
Property Value
- TransformDirAxis
Size
public int Size { get; set; }
Property Value
- int
VisualSize
public float VisualSize { get; set; }
Property Value
- float
Methods
CreateStackNodeAttachState(PartComponent, AttachNodeData)
public AttachNodeState CreateStackNodeAttachState(PartComponent otherPart, AttachNodeData otherNode)
Parameters
otherPart PartComponent
otherNode AttachNodeData
Returns
- AttachNodeState
LoadFromDefinition(AttachNodeDefinition)
public void LoadFromDefinition(AttachNodeDefinition definition)
Parameters
definition AttachNodeDefinition
SetAttachedPart(AttachNodeData)
public bool SetAttachedPart(AttachNodeData otherNode)
Parameters
otherNode AttachNodeData
Returns
- bool
SetAttachedPart(PartComponent, string)
public bool SetAttachedPart(PartComponent attachedTo, string attachedPartNodeID = null)
Parameters
attachedTo PartComponent
attachedPartNodeID string
Returns
- bool