Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
AttachNode Class Reference

Public Types

enum  NodeType { NodeType.Stack, NodeType.Surface, NodeType.Dock }
 

Public Member Functions

 AttachNode ()
 
 AttachNode (string id, Transform transform, int size, AttachNodeMethod attachMethod, bool crossfeed, bool rigid)
 
void DestroyNodeIcon ()
 
void FindAttachedPart (List< Part > parts)
 
AttachNode FindOpposingNode ()
 Returns the attachnode on the other part which connects to this one, if any (srf attachments won't have an opposing node) More...
 
void ReverseSrfNodeDirection (AttachNode fromNode)
 Reverses the Direction for Surface AttachNode from the fromNode to this Node. More...
 

Static Public Member Functions

static AttachNode Clone (AttachNode referenceNode)
 

Public Attributes

bool AllowOneWayXFeed
 
Part attachedPart
 
uint attachedPartId
 
AttachNodeMethod attachMethod
 
float breakingForce
 
float breakingTorque
 
float contactArea
 
GameObject icon
 
string id = ""
 
Transform nodeTransform
 
NodeType nodeType
 
Vector3 offset
 
Vector3 orientation
 
Vector3 originalOrientation
 
Vector3 originalPosition
 
Vector3 originalSecondaryAxis
 
float overrideDragArea = -1f
 
Part owner
 
Vector3 position
 
float radius
 
bool requestGate
 
bool ResourceXFeed
 
bool rigid
 
Vector3 secondaryAxis
 
int size
 
string srfAttachMeshName
 

Member Enumeration Documentation

Enumerator
Stack 
Surface 
Dock 

Constructor & Destructor Documentation

AttachNode.AttachNode ( )
inline
AttachNode.AttachNode ( string  id,
Transform  transform,
int  size,
AttachNodeMethod  attachMethod,
bool  crossfeed,
bool  rigid 
)
inline

Member Function Documentation

static AttachNode AttachNode.Clone ( AttachNode  referenceNode)
inlinestatic
void AttachNode.DestroyNodeIcon ( )
inline
void AttachNode.FindAttachedPart ( List< Part parts)
inline
AttachNode AttachNode.FindOpposingNode ( )
inline

Returns the attachnode on the other part which connects to this one, if any (srf attachments won't have an opposing node)

Returns
void AttachNode.ReverseSrfNodeDirection ( AttachNode  fromNode)
inline

Reverses the Direction for Surface AttachNode from the fromNode to this Node.

Parameters
fromNodeThe node that was child
Returns

Member Data Documentation

bool AttachNode.AllowOneWayXFeed
Part AttachNode.attachedPart
uint AttachNode.attachedPartId
AttachNodeMethod AttachNode.attachMethod
float AttachNode.breakingForce
float AttachNode.breakingTorque
float AttachNode.contactArea
GameObject AttachNode.icon
string AttachNode.id = ""
Transform AttachNode.nodeTransform
NodeType AttachNode.nodeType
Vector3 AttachNode.offset
Vector3 AttachNode.orientation
Vector3 AttachNode.originalOrientation
Vector3 AttachNode.originalPosition
Vector3 AttachNode.originalSecondaryAxis
float AttachNode.overrideDragArea = -1f
Part AttachNode.owner
Vector3 AttachNode.position
float AttachNode.radius
bool AttachNode.requestGate
bool AttachNode.ResourceXFeed
bool AttachNode.rigid
Vector3 AttachNode.secondaryAxis
int AttachNode.size
string AttachNode.srfAttachMeshName

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