C# Class SSTUTools.ParachuteModelData

Mostra file Open project: shadowmage45/SSTULabs Class Usage Examples

Public Properties

Property Type Description
baseModel UnityEngine.GameObject
capModel UnityEngine.GameObject
debug bool
defaultOrientation UnityEngine.Quaternion
fullDeployedScale Vector3
fullDeployedUpVector Vector3
lineModel UnityEngine.GameObject
localPosition Vector3
modelName String
name String
parachutePivot UnityEngine.GameObject
retractedScale Vector3
retractedUpVector Vector3
semiDeployedScale Vector3
semiDeployedUpVector Vector3
texture String

Public Methods

Method Description
ParachuteModelData ( ConfigNode node, Vector3 retracted, Vector3 semi, Vector3 full, int index, bool main ) : System
setupModel ( Part part, Transform baseTransform, Transform targetRotator ) : void
updateDeployAnimation ( ChuteAnimationState state, float progress, float randomization, float lerpDPS ) : void

Method Details

ParachuteModelData() public method

public ParachuteModelData ( ConfigNode node, Vector3 retracted, Vector3 semi, Vector3 full, int index, bool main ) : System
node System.ConfigNode
retracted Vector3
semi Vector3
full Vector3
index int
main bool
return System

setupModel() public method

public setupModel ( Part part, Transform baseTransform, Transform targetRotator ) : void
part Part
baseTransform UnityEngine.Transform
targetRotator UnityEngine.Transform
return void

updateDeployAnimation() public method

public updateDeployAnimation ( ChuteAnimationState state, float progress, float randomization, float lerpDPS ) : void
state ChuteAnimationState
progress float
randomization float
lerpDPS float
return void

Property Details

baseModel public_oe property

public GameObject,UnityEngine baseModel
return UnityEngine.GameObject

capModel public_oe property

public GameObject,UnityEngine capModel
return UnityEngine.GameObject

debug public_oe property

public bool debug
return bool

defaultOrientation public_oe property

public Quaternion,UnityEngine defaultOrientation
return UnityEngine.Quaternion

fullDeployedScale public_oe property

public Vector3 fullDeployedScale
return Vector3

fullDeployedUpVector public_oe property

public Vector3 fullDeployedUpVector
return Vector3

lineModel public_oe property

public GameObject,UnityEngine lineModel
return UnityEngine.GameObject

localPosition public_oe property

public Vector3 localPosition
return Vector3

modelName public_oe property

public String modelName
return String

name public_oe property

public String name
return String

parachutePivot public_oe property

public GameObject,UnityEngine parachutePivot
return UnityEngine.GameObject

retractedScale public_oe property

public Vector3 retractedScale
return Vector3

retractedUpVector public_oe property

public Vector3 retractedUpVector
return Vector3

semiDeployedScale public_oe property

public Vector3 semiDeployedScale
return Vector3

semiDeployedUpVector public_oe property

public Vector3 semiDeployedUpVector
return Vector3

texture public_oe property

public String texture
return String