C# Class SSTUTools.ParachuteModelData

Show 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 property

public GameObject,UnityEngine baseModel
return UnityEngine.GameObject

capModel public property

public GameObject,UnityEngine capModel
return UnityEngine.GameObject

debug public property

public bool debug
return bool

defaultOrientation public property

public Quaternion,UnityEngine defaultOrientation
return UnityEngine.Quaternion

fullDeployedScale public property

public Vector3 fullDeployedScale
return Vector3

fullDeployedUpVector public property

public Vector3 fullDeployedUpVector
return Vector3

lineModel public property

public GameObject,UnityEngine lineModel
return UnityEngine.GameObject

localPosition public property

public Vector3 localPosition
return Vector3

modelName public property

public String modelName
return String

name public property

public String name
return String

parachutePivot public property

public GameObject,UnityEngine parachutePivot
return UnityEngine.GameObject

retractedScale public property

public Vector3 retractedScale
return Vector3

retractedUpVector public property

public Vector3 retractedUpVector
return Vector3

semiDeployedScale public property

public Vector3 semiDeployedScale
return Vector3

semiDeployedUpVector public property

public Vector3 semiDeployedUpVector
return Vector3

texture public property

public String texture
return String