.. default-domain:: c .. highlight:: c DescentProfile ============== .. type:: krpc_Trajectories_DescentProfile_t The descent profile, which sets the attitude of the vessel during the descent. .. note:: Each node covers a band of altitude, as a percentage of the height of the atmosphere. A body without an atmosphere uses :func:`krpc_Trajectories_DescentProfile_FinalApproach` throughout. .. macro:: KRPC_CLASS_TRAJECTORIES_DESCENTPROFILE The service and class ids of the class, for :func:`krpc_KRPC_Type_ClassTypeById`. .. function:: krpc_error_t krpc_Trajectories_DescentProfile_Entry(krpc_connection_t connection, krpc_Trajectories_DescentProfileNode_t * returnValue, krpc_Trajectories_DescentProfile_t instance) The node for atmospheric entry, from 50% to 100% of the height of the atmosphere. :Game Scenes: Flight .. function:: krpc_error_t krpc_Trajectories_DescentProfile_HighAltitude(krpc_connection_t connection, krpc_Trajectories_DescentProfileNode_t * returnValue, krpc_Trajectories_DescentProfile_t instance) The node for high altitude, from 25% to 50% of the height of the atmosphere. :Game Scenes: Flight .. function:: krpc_error_t krpc_Trajectories_DescentProfile_LowAltitude(krpc_connection_t connection, krpc_Trajectories_DescentProfileNode_t * returnValue, krpc_Trajectories_DescentProfile_t instance) The node for low altitude, from 5% to 25% of the height of the atmosphere. :Game Scenes: Flight .. function:: krpc_error_t krpc_Trajectories_DescentProfile_FinalApproach(krpc_connection_t connection, krpc_Trajectories_DescentProfileNode_t * returnValue, krpc_Trajectories_DescentProfile_t instance) The node for the final approach, below 5% of the height of the atmosphere. :Game Scenes: Flight .. function:: krpc_error_t krpc_Trajectories_DescentProfile_Save(krpc_connection_t connection) Saves the descent profile to the active vessel. :Game Scenes: Flight .. note:: A change to a node applies without saving. Saving keeps it in the saved game. .. function:: krpc_error_t krpc_Trajectories_DescentProfile_Reset(krpc_connection_t connection, double aoa) Sets every node to an angle of attack, and saves the descent profile. :Parameters: * **aoa** -- The angle of attack in degrees. The default, 180, is retrograde. :Game Scenes: Flight