KSP API
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Public Attributes | List of all members
AttachNode Class Reference

An AttachNode represents the physical connection between a Part and its parent Part. More...

Public Types

enum  NodeType { NodeType.Stack = 0, NodeType.Surface = 1, NodeType.Dock = 2 }
 

Public Member Functions

 AttachNode ()
 
void FindAttachedPart ()
 

Public Attributes

Part attachedPart
 The part attached to this node. Null if no part is attached. More...
 
string attachedPartId
 
AttachNodeMethod attachMethod
 
float breakingForce
 
float breakingTorque
 
GameObject icon
 
string id
 
AttachNode.NodeType nodeType
 Whether this node is a surface-attach node, a stack node, or a docking node. More...
 
Vector3 offset
 
Vector3 orientation
 
Vector3 originalOrientation
 
Vector3 originalPosition
 
Vector3 position
 
float radius
 
bool requestGate
 
bool ResourceXFeed
 Wether or not resource cross feed can pass through this node. More...
 
int size
 

Detailed Description

An AttachNode represents the physical connection between a Part and its parent Part.

Member Enumeration Documentation

Enumerator
Stack 

A stack node, like the connections between stacked fuel tanks

Surface 

A surface node, like the connection between a radial decoupler and its parent.

Dock 

The type of node that connects two docking ports?

Constructor & Destructor Documentation

AttachNode.AttachNode ( )

Member Function Documentation

void AttachNode.FindAttachedPart ( )

Member Data Documentation

Part AttachNode.attachedPart

The part attached to this node. Null if no part is attached.

string AttachNode.attachedPartId
AttachNodeMethod AttachNode.attachMethod
float AttachNode.breakingForce
float AttachNode.breakingTorque
GameObject AttachNode.icon
string AttachNode.id
AttachNode.NodeType AttachNode.nodeType

Whether this node is a surface-attach node, a stack node, or a docking node.

Vector3 AttachNode.offset
Vector3 AttachNode.orientation
Vector3 AttachNode.originalOrientation
Vector3 AttachNode.originalPosition
Vector3 AttachNode.position
float AttachNode.radius
bool AttachNode.requestGate
bool AttachNode.ResourceXFeed

Wether or not resource cross feed can pass through this node.

int AttachNode.size

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