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
IMultipleDragCube Interface Reference
Inheritance diagram for IMultipleDragCube:
Expansions.Serenity.ModuleRoboticServoHinge Expansions.Serenity.ModuleRoboticServoPiston ModuleAeroSurface ModuleAnimateGeneric ModuleAnimationGroup ModuleControlSurface ModuleDeployablePart ModuleJettison ModuleParachute ModulePartVariants ModuleWheels.ModuleWheelDeployment RetractableLadder

Public Member Functions

void AssumeDragCubePosition (string name)
 Used by the DragCubeSystem when it is generating drag cube entries on startup if none are found for this module. When called the module should set it's model position/setup to match the expected position/orientation when 'name' drag cube is active. More...
 
string[] GetDragCubeNames ()
 Should return an array of strings that are the drag cube names that this module implements. More...
 
bool UsesProceduralDragCubes ()
 Used by the DragCubeSystem when it is generating drag cube entries on startup if none are found for this module. Should return true if this module is to use procedural drag cubes and false if it is to generate drag cubes for the drag cube names returned in GetDragCubeNames method. More...
 

Properties

bool IsMultipleCubesActive [get]
 Used by the DragCubeSystem when it is generating drag cube entries on startup if none are found for this module. Should return true if multiple drag cubes are expected to be generated for the part this module is a part of or false if not. More...
 

Member Function Documentation

void IMultipleDragCube.AssumeDragCubePosition ( string  name)

Used by the DragCubeSystem when it is generating drag cube entries on startup if none are found for this module. When called the module should set it's model position/setup to match the expected position/orientation when 'name' drag cube is active.

Parameters
nameThe name of the drag cube to assume the position/setup for.

Implemented in ModuleDeployablePart, ModuleControlSurface, ModuleParachute, Expansions.Serenity.ModuleRoboticServoHinge, ModuleWheels.ModuleWheelDeployment, Expansions.Serenity.ModuleRoboticServoPiston, ModulePartVariants, ModuleAnimationGroup, ModuleAnimateGeneric, ModuleJettison, and RetractableLadder.

string [] IMultipleDragCube.GetDragCubeNames ( )
bool IMultipleDragCube.UsesProceduralDragCubes ( )

Used by the DragCubeSystem when it is generating drag cube entries on startup if none are found for this module. Should return true if this module is to use procedural drag cubes and false if it is to generate drag cubes for the drag cube names returned in GetDragCubeNames method.

Returns

Implemented in ModuleDeployablePart, ModuleControlSurface, ModuleParachute, Expansions.Serenity.ModuleRoboticServoHinge, ModuleWheels.ModuleWheelDeployment, Expansions.Serenity.ModuleRoboticServoPiston, ModuleAnimationGroup, ModulePartVariants, ModuleAnimateGeneric, ModuleJettison, and RetractableLadder.

Property Documentation

bool IMultipleDragCube.IsMultipleCubesActive
get

Used by the DragCubeSystem when it is generating drag cube entries on startup if none are found for this module. Should return true if multiple drag cubes are expected to be generated for the part this module is a part of or false if not.


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