Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 | |
Résultat | void |
public static CreatePart ( AvailablePart avPart, Vector3 position, |
||
avPart | AvailablePart | |
position | Vector3 | |
rotation | ||
flagFromPart | Part | |
Résultat | Part |
public static CreatePart ( string partname, Vector3 position, |
||
partname | string | |
position | Vector3 | |
rotation | ||
flagFromPart | Part | |
Résultat | Part |
public static DebugError ( string format ) : void | ||
format | string | |
Résultat | void |
public static DebugLog ( string format ) : void | ||
format | string | |
Résultat | void |
public static DebugWarning ( string format ) : void | ||
format | string | |
Résultat | void |
public static DecoupleAllChilds ( Part p ) : void | ||
p | Part | |
Résultat | void |
public static DecoupleFromAll ( Part p ) : void | ||
p | Part | |
Résultat | void |
public static DirectionToQuaternion ( |
||
transf | ||
nodeDirection | Vector3 | |
Résultat |
public static DisableEditorClickthrough ( |
||
guiWindowRect | ||
Résultat | void |
public static DisableVesselCollision ( Vessel vess, |
||
vess | Vessel | |
col | ||
Résultat | void |
public static GetAllChilds ( Part tgtPart, bool addSelf = false ) : List |
||
tgtPart | Part | |
addSelf | bool | |
Résultat | List |
public static GetAllParents ( Part tgtPart, bool addSelf = false ) : List |
||
tgtPart | Part | |
addSelf | bool | |
Résultat | List |
public static GetAllWinch ( Vessel fromVessel = null ) : List |
||
fromVessel | Vessel | |
Résultat | List |
public static GetAngleFromDirAndPoints ( Vector3 dir, Vector3 srcPos, Vector3 tgtPos ) : float | ||
dir | Vector3 | |
srcPos | Vector3 | |
tgtPos | Vector3 | |
Résultat | float |
public static GetBaseConfigNode ( PartModule partModule ) : |
||
partModule | PartModule | |
Résultat |
public static GetConnectedWinch ( Part p ) : |
||
p | Part | |
Résultat |
public static GetEvaCollider ( Vessel evaVessel, string colliderName ) : |
||
evaVessel | Vessel | |
colliderName | string | |
Résultat |
public static GetKerbalEvaUnderCursor ( ) : KerbalEVA | ||
Résultat | KerbalEVA |
public static GetLocalPosFrom ( |
||
trf | ||
from | ||
Résultat | Vector3 |
public static GetLocalRotFrom ( |
||
trf | ||
from | ||
Résultat |
public static GetPartByID ( Vessel searchVessel, string partID ) : Part | ||
searchVessel | Vessel | |
partID | string | |
Résultat | Part |
public static GetPartByID ( string vesselID, string partID ) : Part | ||
vesselID | string | |
partID | string | |
Résultat | Part |
public static GetPartUnderCursor ( ) : Part | ||
Résultat | Part |
public static GetTransformUnderCursor ( ) : Transform | ||
Résultat | Transform |
public static GetVesselByName ( string name ) : Vessel | ||
name | string | |
Résultat | Vessel |
public static GetWinchModuleGrabbed ( Vessel evaVessel ) : KASModuleWinch | ||
evaVessel | Vessel | |
Résultat | KASModuleWinch |
public static InvalidateContextMenu ( Part part ) : void | ||
part | Part | |
Résultat | void |
public static LoadPartSnapshot ( Vessel vessel, ConfigNode node, Vector3 position, Quaternion rotation ) : Part | ||
vessel | Vessel | |
node | ConfigNode | |
position | Vector3 | |
rotation | Quaternion | |
Résultat | Part |
public static LoadProtoPartSnapshot ( ConfigNode node ) : ProtoPartSnapshot | ||
node | ConfigNode | |
Résultat | ProtoPartSnapshot |
public static MouseIsOverWindow ( Rect guiWindowRect ) : bool | ||
guiWindowRect | Rect | |
Résultat | bool |
public static MoveAbove ( Transform fromTransform, Vector3 fromLocalPos, Vector3 fromOrientation, RaycastHit hit ) : void | ||
fromTransform | Transform | |
fromLocalPos | Vector3 | |
fromOrientation | Vector3 | |
hit | RaycastHit | |
Résultat | void |
public static MoveAlign ( Transform source, Transform childNode, RaycastHit hit, Quaternion adjust ) : void | ||
source | Transform | |
childNode | Transform | |
hit | RaycastHit | |
adjust | Quaternion | |
Résultat | void |
public static MoveAlign ( Transform source, Transform childNode, Transform target ) : void | ||
source | Transform | |
childNode | Transform | |
target | Transform | |
Résultat | void |
public static MoveAlign ( Transform source, Transform childNode, Vector3 targetPos, Quaternion targetRot ) : void | ||
source | Transform | |
childNode | Transform | |
targetPos | Vector3 | |
targetRot | Quaternion | |
Résultat | void |
public static MoveAlignLight ( Part fromPart, Transform fromTransform, Part toPart, Transform toTransform, List |
||
fromPart | Part | |
fromTransform | Transform | |
toPart | Part | |
toTransform | Transform | |
partToMoveWith | List |
|
Résultat | void |
public static MoveAlignLight ( Vessel fromVessel, Transform fromTransform, Vessel toVessel, Transform toTransform ) : void | ||
fromVessel | Vessel | |
fromTransform | Transform | |
toVessel | Vessel | |
toTransform | Transform | |
Résultat | void |
public static MovePartWith ( Part rootPart, List |
||
rootPart | Part | |
moveWithParts | List |
|
position | Vector3 | |
rotation | Quaternion | |
Résultat | void |
public static MoveRelatedTo ( Transform fromTransform, Transform toTransform, Vector3 position, Vector3 direction ) : void | ||
fromTransform | Transform | |
toTransform | Transform | |
position | Vector3 | |
direction | Vector3 | |
Résultat | void |
public static ParseCfgVector3 ( string vectorString ) : Vector3 | ||
vectorString | string | |
Résultat | Vector3 |
public static RemoveAttachJointBetween ( Part part1, Part part2 ) : void | ||
part1 | Part | |
part2 | Part | |
Résultat | void |
public static RemoveFixedJointBetween ( Part part1, Part part2 ) : void | ||
part1 | Part | |
part2 | Part | |
Résultat | void |
public static RemoveHingeJointBetween ( Part part1, Part part2 ) : void | ||
part1 | Part | |
part2 | Part | |
Résultat | void |
public static RequestPower ( Part prt, float power ) : bool | ||
prt | Part | |
power | float | |
Résultat | bool |
public static ResetChildPartVesselCollision ( Part p ) : void | ||
p | Part | |
Résultat | void |
public static ResetCollisionEnhancer ( Part p, bool create_new = true ) : void | ||
p | Part | |
create_new | bool | |
Résultat | void |
public static SavePartSnapshot ( Part part ) : ConfigNode | ||
part | Part | |
Résultat | ConfigNode |
public static SendMsgToWinch ( String methodeName, object value = null, Vessel vess = null ) : void | ||
methodeName | String | |
value | object | |
vess | Vessel | |
Résultat | void |
public static SetAllChildsPartPos ( string vesselID, Vector3>.Dictionary |
||
vesselID | string | |
partsPos | Vector3>.Dictionary | |
Résultat | void |
public static SetChildTrfParent ( Part sourcePart, Transform parent ) : void | ||
sourcePart | Part | |
parent | Transform | |
Résultat | void |
public static SetPartLocalPosFrom ( Transform trf, Transform from, Vector3 localPos ) : void | ||
trf | Transform | |
from | Transform | |
localPos | Vector3 | |
Résultat | void |
public static SetPartLocalPosRotFrom ( Transform trf, Transform from, Vector3 localPos, Quaternion localRot ) : void | ||
trf | Transform | |
from | Transform | |
localPos | Vector3 | |
localRot | Quaternion | |
Résultat | void |
public static SetPartLocalRotFrom ( Transform trf, Transform from, Quaternion localRot ) : void | ||
trf | Transform | |
from | Transform | |
localRot | Quaternion | |
Résultat | void |
public static SetPartsPosition ( Part rootPart, List |
||
rootPart | Part | |
parts | List |
|
position | Vector3 | |
usePristineCoords | bool | |
Résultat | void |
public static SetPartsRotation ( Part rootPart, List |
||
rootPart | Part | |
parts | List |
|
rotation | Quaternion | |
Résultat | void |
public static UpdateChildsOrgPos ( Part p, bool includeItself = false ) : void | ||
p | Part | |
includeItself | bool | |
Résultat | void |
public static UpdateChildsOrgPosDelayed ( Part p, float waitTime ) : IEnumerator | ||
p | Part | |
waitTime | float | |
Résultat | 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 | |
Résultat | bool |