C# 클래스 SSTUTools.SRBNozzleData

Data for an srb nozzle, including gimbal adjustment data and ISP curve adjustment.
상속: SSTUTools.SingleModelData
파일 보기 프로젝트 열기: shadowmage45/SSTULabs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
gimbalAdjustmentRange float
gimbalDefaultOrientation UnityEngine.Quaternion
gimbalFlightRange float
gimbalTransformName String
thrustTransformName String

공개 메소드들

메소드 설명
SRBNozzleData ( ConfigNode node ) : System
getGimbalTransform ( ) : Transform
getThrustTransform ( ) : Transform
setupTransformDefaults ( Transform partThrustTransform, Transform partGimbalTransform ) : void

Positions the input thrust transform as a child of the models existing gimbal transform in the same orientation as the models existing thrust transform.

updateGimbalRotation ( Vector3 worldAxis, float newRotation ) : void

Resets the gimbal to its default orientation, and then applies newRotation to it as a direct rotation around the input world axis

메소드 상세

SRBNozzleData() 공개 메소드

public SRBNozzleData ( ConfigNode node ) : System
node System.ConfigNode
리턴 System

getGimbalTransform() 공개 메소드

public getGimbalTransform ( ) : Transform
리턴 UnityEngine.Transform

getThrustTransform() 공개 메소드

public getThrustTransform ( ) : Transform
리턴 UnityEngine.Transform

setupTransformDefaults() 공개 메소드

Positions the input thrust transform as a child of the models existing gimbal transform in the same orientation as the models existing thrust transform.
public setupTransformDefaults ( Transform partThrustTransform, Transform partGimbalTransform ) : void
partThrustTransform UnityEngine.Transform
partGimbalTransform UnityEngine.Transform
리턴 void

updateGimbalRotation() 공개 메소드

Resets the gimbal to its default orientation, and then applies newRotation to it as a direct rotation around the input world axis
public updateGimbalRotation ( Vector3 worldAxis, float newRotation ) : void
worldAxis Vector3
newRotation float
리턴 void

프로퍼티 상세

gimbalAdjustmentRange 공개적으로 프로퍼티

public float gimbalAdjustmentRange
리턴 float

gimbalDefaultOrientation 공개적으로 프로퍼티

public Quaternion,UnityEngine gimbalDefaultOrientation
리턴 UnityEngine.Quaternion

gimbalFlightRange 공개적으로 프로퍼티

public float gimbalFlightRange
리턴 float

gimbalTransformName 공개적으로 프로퍼티

public String gimbalTransformName
리턴 String

thrustTransformName 공개적으로 프로퍼티

public String thrustTransformName
리턴 String