C# Класс SSTUTools.SRBNozzleData

Data for an srb nozzle, including gimbal adjustment data and ISP curve adjustment.
Наследование: SSTUTools.SingleModelData
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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