Interface IMyFlightMovementBlock
Describes flight movement block interface
Inherited Members
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Syntax
public interface IMyFlightMovementBlock : IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity
Properties
AlignToPGravity
Gets/sets bool if align to P gravity mode is on.
Declaration
bool AlignToPGravity { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CollisionAvoidance
Gets/sets bool representing if collision avoidance is on.
Declaration
bool CollisionAvoidance { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CurrentWaypoint
Gets current waypoint
Declaration
IMyAutopilotWaypoint CurrentWaypoint { get; }
Property Value
Type | Description |
---|---|
IMyAutopilotWaypoint |
FlightMode
Gets/sets type of active flight mode
Declaration
FlightMode FlightMode { get; set; }
Property Value
Type | Description |
---|---|
FlightMode |
IsAutoPilotEnabled
Determines whether the autopilot is currently enabled.
Declaration
bool IsAutoPilotEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LookAtPosition
Gets/sets position where flight movement should look at
Declaration
Nullable<Vector3D> LookAtPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Vector3D> |
MinimalAltitude
Gets/sets minimal altitude above the planet surface
Declaration
float MinimalAltitude { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
PrecisionMode
Gets/sets bool if precision mode is on.
Declaration
bool PrecisionMode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SpeedLimit
Gets/sets speed limit.
Declaration
float SpeedLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
GetWaypoints(List<IMyAutopilotWaypoint>)
Gets current waypoints
Declaration
void GetWaypoints(List<IMyAutopilotWaypoint> points)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<IMyAutopilotWaypoint> | points |