Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
DragCubeSystem Class Reference
Inheritance diagram for DragCubeSystem:

Public Member Functions

void LoadDragCubes (Part p)
 
DragCube RenderProceduralDragCube (Part p)
 
IEnumerator SetupDragCubeCoroutine (Part p)
 
IEnumerator SetupDragCubeCoroutine (Part p, ConfigNode dragConfig)
 

Properties

static DragCubeSystem Instance [get, set]
 
float ProceduralDragUpdateInterval [get, set]
 

Member Function Documentation

void DragCubeSystem.LoadDragCubes ( Part  p)
inline
DragCube DragCubeSystem.RenderProceduralDragCube ( Part  p)
inline

< instantiate the part prefab, center on origin

< if the root part is copied, be sure not to destroy the original mapObject (breaks map)

< forces all materials on the part to our drag material

< calculate the bounds of the part

< update aero texture

< calculate all the aerodynamic forces on the part

IEnumerator DragCubeSystem.SetupDragCubeCoroutine ( Part  p)
inline
IEnumerator DragCubeSystem.SetupDragCubeCoroutine ( Part  p,
ConfigNode  dragConfig 
)
inline

Property Documentation

DragCubeSystem DragCubeSystem.Instance
staticgetset
float DragCubeSystem.ProceduralDragUpdateInterval
getset

The documentation for this class was generated from the following file: