Interface IMyParachute
Inherited Members
Namespace: SpaceEngineers.Game.ModAPI.Ingame
Assembly: SpaceEngineers.Game.dll
Syntax
public interface IMyParachute : IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity
Properties
Atmosphere
Atmospheric Density at the block. Returns 0.0f if not near a planet.
Declaration
float Atmosphere { get; }
Property Value
Type | Description |
---|---|
System.Single |
AutoDeploy
Gets or sets if the parachute should automatically deploy.
Declaration
bool AutoDeploy { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AutoDeployHeight
Gets or sets the altitude (in meters) that the parachute should auto deploy.
Declaration
float AutoDeployHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
OpenRatio
The current, accurate ratio of the door's current state where 0 is fully closed and 1 is fully open.
Declaration
float OpenRatio { get; }
Property Value
Type | Description |
---|---|
System.Single |
Status
Determines the current general status of the door.
Declaration
DoorStatus Status { get; }
Property Value
Type | Description |
---|---|
DoorStatus |
Methods
CloseDoor()
Closes the door. See Status to get the current status.
Declaration
void CloseDoor()
GetArtificialGravity()
Gets the detected artificial gravity vector and power at the current location.
Declaration
Vector3D GetArtificialGravity()
Returns
Type | Description |
---|---|
Vector3D |
GetNaturalGravity()
Gets the detected natural gravity vector and power at the current location.
Declaration
Vector3D GetNaturalGravity()
Returns
Type | Description |
---|---|
Vector3D |
GetTotalGravity()
Gets the total accumulated gravity vector and power at the current location, taking both natural and artificial gravity into account.
Declaration
Vector3D GetTotalGravity()
Returns
Type | Description |
---|---|
Vector3D |
GetVelocity()
Determines the linear velocities in meters per second at the block position
Declaration
Vector3D GetVelocity()
Returns
Type | Description |
---|---|
Vector3D |
OpenDoor()
Opens the door. See Status to get the current status.
Declaration
void OpenDoor()
ToggleDoor()
Toggles the open state of this door. See Status to get the current status.
Declaration
void ToggleDoor()
TryGetClosestPoint(out Nullable<Vector3D>)
Declaration
bool TryGetClosestPoint(out Nullable<Vector3D> closestPoint)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<Vector3D> | closestPoint |
Returns
Type | Description |
---|---|
System.Boolean |