Class MyPathRecorderComponent
Inheritance
System.Object
MyPathRecorderComponent
Assembly: Sandbox.Game.dll
Syntax
[MyComponentType]
[MyComponentBuilder]
public class MyPathRecorderComponent : MyEventProxyEntityComponent, IMyEntityComponentBase, IMyComponentBase, IMyEventProxy, IMyEventOwner, IMyTerminalControlsProviderComponent, IMyPathRecorderComponent, IMyPathRecorderComponent
Constructors
MyPathRecorderComponent()
Declaration
public MyPathRecorderComponent()
Fields
DetailedInfo
Declaration
public StringBuilder DetailedInfo
Field Value
| Type |
Description |
| System.Text.StringBuilder |
|
ErrorsInTerminal
Declaration
public bool ErrorsInTerminal
Field Value
| Type |
Description |
| System.Boolean |
|
Waypoints
Declaration
public List<MyAutopilotWaypoint> Waypoints
Field Value
Properties
BeaconDisplayText
Declaration
public string BeaconDisplayText { get; }
Property Value
| Type |
Description |
| System.String |
|
BeaconWorldPosition
Declaration
public Vector3D BeaconWorldPosition { get; }
Property Value
ComponentTypeDebugString
Declaration
public override string ComponentTypeDebugString { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
IsPlaying
Declaration
public bool IsPlaying { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsPowered
Declaration
public bool IsPowered { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsRecording
Declaration
public bool IsRecording { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
MinimalDistance
Declaration
public float MinimalDistance { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
RecordInterval
Declaration
public byte RecordInterval { get; set; }
Property Value
| Type |
Description |
| System.Byte |
|
RepeatPath
Declaration
public bool RepeatPath { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
ShowPath
Declaration
public bool ShowPath { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
ShowSelectedPoints
Declaration
public bool ShowSelectedPoints { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
TerminalControlCreationPriority
Declaration
public int TerminalControlCreationPriority { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
AddWaypoint(IMyAutopilotWaypoint)
Declaration
public void AddWaypoint(IMyAutopilotWaypoint waypoint)
Parameters
CreateTerminalControls<T>()
Declaration
public void CreateTerminalControls<T>()
where T : MyTerminalBlock
Type Parameters
Deserialize(MyObjectBuilder_ComponentBase)
Declaration
public override void Deserialize(MyObjectBuilder_ComponentBase builder)
Parameters
Overrides
DrawPath()
Declaration
GetWaypoints(List<IMyAutopilotWaypoint>)
Declaration
public void GetWaypoints(List<IMyAutopilotWaypoint> points)
Parameters
Init(MyComponentDefinitionBase)
Declaration
public override void Init(MyComponentDefinitionBase definition)
Parameters
Overrides
IsPathShown()
Declaration
public bool IsPathShown()
Returns
| Type |
Description |
| System.Boolean |
|
IsSerialized()
Declaration
public override bool IsSerialized()
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
OnAddedToContainer()
Declaration
public override void OnAddedToContainer()
Overrides
OnBeforeRemovedFromContainer()
Declaration
public override void OnBeforeRemovedFromContainer()
Overrides
OnRemovedFromScene()
Declaration
public override void OnRemovedFromScene()
Overrides
Play()
Declaration
Record()
Declaration
RefreshErrors(Boolean)
Declaration
public void RefreshErrors(bool setParentDetailInfoDirty = true)
Parameters
| Type |
Name |
Description |
| System.Boolean |
setParentDetailInfoDirty |
|
RemoveBeacon()
Declaration
public void RemoveBeacon()
RemoveWaypoint(IMyAutopilotWaypoint)
Declaration
public void RemoveWaypoint(IMyAutopilotWaypoint waypoint)
Parameters
ReverseOrder()
Declaration
public void ReverseOrder()
Serialize(Boolean)
Declaration
public override MyObjectBuilder_ComponentBase Serialize(bool copy = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
copy |
|
Returns
Overrides
StopPlay()
Declaration
StopRecord()
Declaration
UpdateAfterSimulation100()
Declaration
public void UpdateAfterSimulation100()
Events
IsPlayingChanged
Declaration
public event Action<IMyPathRecorderComponent> IsPlayingChanged
Event Type
IsRecordingChanged
Declaration
public event Action<IMyPathRecorderComponent> IsRecordingChanged
Event Type
Explicit Interface Implementations
IMyPathRecorderComponent.DeleteAllWaypoints()
Declaration
void IMyPathRecorderComponent.DeleteAllWaypoints()
IMyPathRecorderComponent.BeaconEntityId
Declaration
Nullable<long> IMyPathRecorderComponent.BeaconEntityId { get; }
Returns
| Type |
Description |
| System.Nullable<System.Int64> |
|
Implements
Extension Methods