Метод | Описание | |
---|---|---|
AddNodeTransform ( Part p, AttachNode attachNode ) : void | ||
CreatePart ( AvailablePart avPart, Vector3 position, |
||
CreatePart ( string partname, Vector3 position, |
||
DebugError ( string format ) : void | ||
DebugLog ( string format ) : void | ||
DebugWarning ( string format ) : void | ||
DecoupleAllChilds ( Part p ) : void | ||
DecoupleFromAll ( Part p ) : void | ||
DirectionToQuaternion ( |
||
DisableEditorClickthrough ( |
||
DisableVesselCollision ( Vessel vess, |
||
GetAllChilds ( Part tgtPart, bool addSelf = false ) : List |
||
GetAllParents ( Part tgtPart, bool addSelf = false ) : List |
||
GetAllWinch ( Vessel fromVessel = null ) : List |
||
GetAngleFromDirAndPoints ( Vector3 dir, Vector3 srcPos, Vector3 tgtPos ) : float | ||
GetBaseConfigNode ( PartModule partModule ) : |
||
GetConnectedWinch ( Part p ) : |
||
GetEvaCollider ( Vessel evaVessel, string colliderName ) : |
||
GetKerbalEvaUnderCursor ( ) : KerbalEVA | ||
GetLocalPosFrom ( |
||
GetLocalRotFrom ( |
||
GetPartByID ( Vessel searchVessel, string partID ) : Part | ||
GetPartByID ( string vesselID, string partID ) : Part | ||
GetPartUnderCursor ( ) : Part | ||
GetTransformUnderCursor ( ) : Transform | ||
GetVesselByName ( string name ) : Vessel | ||
GetWinchModuleGrabbed ( Vessel evaVessel ) : KASModuleWinch | ||
InvalidateContextMenu ( Part part ) : void | ||
LoadPartSnapshot ( Vessel vessel, ConfigNode node, Vector3 position, Quaternion rotation ) : Part | ||
LoadProtoPartSnapshot ( ConfigNode node ) : ProtoPartSnapshot | ||
MouseIsOverWindow ( Rect guiWindowRect ) : bool | ||
MoveAbove ( Transform fromTransform, Vector3 fromLocalPos, Vector3 fromOrientation, RaycastHit hit ) : void | ||
MoveAlign ( Transform source, Transform childNode, RaycastHit hit, Quaternion adjust ) : void | ||
MoveAlign ( Transform source, Transform childNode, Transform target ) : void | ||
MoveAlign ( Transform source, Transform childNode, Vector3 targetPos, Quaternion targetRot ) : void | ||
MoveAlignLight ( Part fromPart, Transform fromTransform, Part toPart, Transform toTransform, List |
||
MoveAlignLight ( Vessel fromVessel, Transform fromTransform, Vessel toVessel, Transform toTransform ) : void | ||
MovePartWith ( Part rootPart, List |
||
MoveRelatedTo ( Transform fromTransform, Transform toTransform, Vector3 position, Vector3 direction ) : void | ||
ParseCfgVector3 ( string vectorString ) : Vector3 | ||
RemoveAttachJointBetween ( Part part1, Part part2 ) : void | ||
RemoveFixedJointBetween ( Part part1, Part part2 ) : void | ||
RemoveHingeJointBetween ( Part part1, Part part2 ) : void | ||
RequestPower ( Part prt, float power ) : bool | ||
ResetChildPartVesselCollision ( Part p ) : void | ||
ResetCollisionEnhancer ( Part p, bool create_new = true ) : void | ||
SavePartSnapshot ( Part part ) : ConfigNode | ||
SendMsgToWinch ( String methodeName, object value = null, Vessel vess = null ) : void | ||
SetAllChildsPartPos ( string vesselID, Vector3>.Dictionary |
||
SetChildTrfParent ( Part sourcePart, Transform parent ) : void | ||
SetPartLocalPosFrom ( Transform trf, Transform from, Vector3 localPos ) : void | ||
SetPartLocalPosRotFrom ( Transform trf, Transform from, Vector3 localPos, Quaternion localRot ) : void | ||
SetPartLocalRotFrom ( Transform trf, Transform from, Quaternion localRot ) : void | ||
SetPartsPosition ( Part rootPart, List |
||
SetPartsRotation ( Part rootPart, List |
||
UpdateChildsOrgPos ( Part p, bool includeItself = false ) : void | ||
UpdateChildsOrgPosDelayed ( Part p, float waitTime ) : IEnumerator | ||
createFXSound ( Part part, FXGroup group, string sndPath, bool loop, float maxDistance = 30f ) : bool |
Метод | Описание | |
---|---|---|
FinishDelayedCreation ( Part part, List |
||
GetAllChildsRecursive ( Part p ) : Part | ||
GetAllParentsRecursive ( Part p ) : Part | ||
WaitAndUnpack ( Part part, List |
public static AddNodeTransform ( Part p, AttachNode attachNode ) : void | ||
p | Part | |
attachNode | AttachNode | |
Результат | void |
public static CreatePart ( AvailablePart avPart, Vector3 position, |
||
avPart | AvailablePart | |
position | Vector3 | |
rotation | ||
flagFromPart | Part | |
Результат | Part |
public static CreatePart ( string partname, Vector3 position, |
||
partname | string | |
position | Vector3 | |
rotation | ||
flagFromPart | Part | |
Результат | Part |
public static DebugError ( string format ) : void | ||
format | string | |
Результат | void |
public static DebugLog ( string format ) : void | ||
format | string | |
Результат | void |
public static DebugWarning ( string format ) : void | ||
format | string | |
Результат | void |
public static DecoupleAllChilds ( Part p ) : void | ||
p | Part | |
Результат | void |
public static DecoupleFromAll ( Part p ) : void | ||
p | Part | |
Результат | void |
public static DirectionToQuaternion ( |
||
transf | ||
nodeDirection | Vector3 | |
Результат |
public static DisableEditorClickthrough ( |
||
guiWindowRect | ||
Результат | void |
public static DisableVesselCollision ( Vessel vess, |
||
vess | Vessel | |
col | ||
Результат | void |
public static GetAllChilds ( Part tgtPart, bool addSelf = false ) : List |
||
tgtPart | Part | |
addSelf | bool | |
Результат | List |
public static GetAllParents ( Part tgtPart, bool addSelf = false ) : List |
||
tgtPart | Part | |
addSelf | bool | |
Результат | List |
public static GetAllWinch ( Vessel fromVessel = null ) : List |
||
fromVessel | Vessel | |
Результат | List |
public static GetAngleFromDirAndPoints ( Vector3 dir, Vector3 srcPos, Vector3 tgtPos ) : float | ||
dir | Vector3 | |
srcPos | Vector3 | |
tgtPos | Vector3 | |
Результат | float |
public static GetBaseConfigNode ( PartModule partModule ) : |
||
partModule | PartModule | |
Результат |
public static GetConnectedWinch ( Part p ) : |
||
p | Part | |
Результат |
public static GetEvaCollider ( Vessel evaVessel, string colliderName ) : |
||
evaVessel | Vessel | |
colliderName | string | |
Результат |
public static GetKerbalEvaUnderCursor ( ) : KerbalEVA | ||
Результат | KerbalEVA |
public static GetLocalPosFrom ( |
||
trf | ||
from | ||
Результат | Vector3 |
public static GetLocalRotFrom ( |
||
trf | ||
from | ||
Результат |
public static GetPartByID ( Vessel searchVessel, string partID ) : Part | ||
searchVessel | Vessel | |
partID | string | |
Результат | Part |
public static GetPartByID ( string vesselID, string partID ) : Part | ||
vesselID | string | |
partID | string | |
Результат | Part |
public static GetPartUnderCursor ( ) : Part | ||
Результат | Part |
public static GetTransformUnderCursor ( ) : Transform | ||
Результат | Transform |
public static GetVesselByName ( string name ) : Vessel | ||
name | string | |
Результат | Vessel |
public static GetWinchModuleGrabbed ( Vessel evaVessel ) : KASModuleWinch | ||
evaVessel | Vessel | |
Результат | KASModuleWinch |
public static InvalidateContextMenu ( Part part ) : void | ||
part | Part | |
Результат | void |
public static LoadPartSnapshot ( Vessel vessel, ConfigNode node, Vector3 position, Quaternion rotation ) : Part | ||
vessel | Vessel | |
node | ConfigNode | |
position | Vector3 | |
rotation | Quaternion | |
Результат | Part |
public static LoadProtoPartSnapshot ( ConfigNode node ) : ProtoPartSnapshot | ||
node | ConfigNode | |
Результат | ProtoPartSnapshot |
public static MouseIsOverWindow ( Rect guiWindowRect ) : bool | ||
guiWindowRect | Rect | |
Результат | bool |
public static MoveAbove ( Transform fromTransform, Vector3 fromLocalPos, Vector3 fromOrientation, RaycastHit hit ) : void | ||
fromTransform | Transform | |
fromLocalPos | Vector3 | |
fromOrientation | Vector3 | |
hit | RaycastHit | |
Результат | void |
public static MoveAlign ( Transform source, Transform childNode, RaycastHit hit, Quaternion adjust ) : void | ||
source | Transform | |
childNode | Transform | |
hit | RaycastHit | |
adjust | Quaternion | |
Результат | void |
public static MoveAlign ( Transform source, Transform childNode, Transform target ) : void | ||
source | Transform | |
childNode | Transform | |
target | Transform | |
Результат | void |
public static MoveAlign ( Transform source, Transform childNode, Vector3 targetPos, Quaternion targetRot ) : void | ||
source | Transform | |
childNode | Transform | |
targetPos | Vector3 | |
targetRot | Quaternion | |
Результат | void |
public static MoveAlignLight ( Part fromPart, Transform fromTransform, Part toPart, Transform toTransform, List |
||
fromPart | Part | |
fromTransform | Transform | |
toPart | Part | |
toTransform | Transform | |
partToMoveWith | List |
|
Результат | void |
public static MoveAlignLight ( Vessel fromVessel, Transform fromTransform, Vessel toVessel, Transform toTransform ) : void | ||
fromVessel | Vessel | |
fromTransform | Transform | |
toVessel | Vessel | |
toTransform | Transform | |
Результат | void |
public static MovePartWith ( Part rootPart, List |
||
rootPart | Part | |
moveWithParts | List |
|
position | Vector3 | |
rotation | Quaternion | |
Результат | void |
public static MoveRelatedTo ( Transform fromTransform, Transform toTransform, Vector3 position, Vector3 direction ) : void | ||
fromTransform | Transform | |
toTransform | Transform | |
position | Vector3 | |
direction | Vector3 | |
Результат | void |
public static ParseCfgVector3 ( string vectorString ) : Vector3 | ||
vectorString | string | |
Результат | Vector3 |
public static RemoveAttachJointBetween ( Part part1, Part part2 ) : void | ||
part1 | Part | |
part2 | Part | |
Результат | void |
public static RemoveFixedJointBetween ( Part part1, Part part2 ) : void | ||
part1 | Part | |
part2 | Part | |
Результат | void |
public static RemoveHingeJointBetween ( Part part1, Part part2 ) : void | ||
part1 | Part | |
part2 | Part | |
Результат | void |
public static RequestPower ( Part prt, float power ) : bool | ||
prt | Part | |
power | float | |
Результат | bool |
public static ResetChildPartVesselCollision ( Part p ) : void | ||
p | Part | |
Результат | void |
public static ResetCollisionEnhancer ( Part p, bool create_new = true ) : void | ||
p | Part | |
create_new | bool | |
Результат | void |
public static SavePartSnapshot ( Part part ) : ConfigNode | ||
part | Part | |
Результат | ConfigNode |
public static SendMsgToWinch ( String methodeName, object value = null, Vessel vess = null ) : void | ||
methodeName | String | |
value | object | |
vess | Vessel | |
Результат | void |
public static SetAllChildsPartPos ( string vesselID, Vector3>.Dictionary |
||
vesselID | string | |
partsPos | Vector3>.Dictionary | |
Результат | void |
public static SetChildTrfParent ( Part sourcePart, Transform parent ) : void | ||
sourcePart | Part | |
parent | Transform | |
Результат | void |
public static SetPartLocalPosFrom ( Transform trf, Transform from, Vector3 localPos ) : void | ||
trf | Transform | |
from | Transform | |
localPos | Vector3 | |
Результат | void |
public static SetPartLocalPosRotFrom ( Transform trf, Transform from, Vector3 localPos, Quaternion localRot ) : void | ||
trf | Transform | |
from | Transform | |
localPos | Vector3 | |
localRot | Quaternion | |
Результат | void |
public static SetPartLocalRotFrom ( Transform trf, Transform from, Quaternion localRot ) : void | ||
trf | Transform | |
from | Transform | |
localRot | Quaternion | |
Результат | void |
public static SetPartsPosition ( Part rootPart, List |
||
rootPart | Part | |
parts | List |
|
position | Vector3 | |
usePristineCoords | bool | |
Результат | void |
public static SetPartsRotation ( Part rootPart, List |
||
rootPart | Part | |
parts | List |
|
rotation | Quaternion | |
Результат | void |
public static UpdateChildsOrgPos ( Part p, bool includeItself = false ) : void | ||
p | Part | |
includeItself | bool | |
Результат | void |
public static UpdateChildsOrgPosDelayed ( Part p, float waitTime ) : IEnumerator | ||
p | Part | |
waitTime | float | |
Результат | IEnumerator |
public static createFXSound ( Part part, FXGroup group, string sndPath, bool loop, float maxDistance = 30f ) : bool | ||
part | Part | |
group | FXGroup | |
sndPath | string | |
loop | bool | |
maxDistance | float | |
Результат | bool |