Show / Hide Table of Contents

Class MyPathRecorderComponent

Inheritance
System.Object
MyComponentBase
MyEntityComponentBase
MyEventProxyEntityComponent
MyPathRecorderComponent
Implements
IMyPathRecorderComponent
IMyPathRecorderComponent
Inherited Members
MyEventProxyEntityComponent.SyncType
MyEventProxyEntityComponent.AttachSyncToEntity
MyEntityComponentBase.Container
MyEntityComponentBase.Entity
MyEntityComponentBase.OnAfterAddedToContainer
MyEntityComponentBase.BeforeRemovedFromContainer
MyComponentBase.SetContainer(IMyComponentContainer)
MyComponentBase.GetAs<T>()
MyComponentBase.OnAddedToScene()
MyComponentBase.RemoveExistingComponentOnNewInsert
MyComponentBase.ContainerBase
Namespace: Sandbox.Game.EntityComponents
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
Type Description
System.Collections.Generic.List<MyAutopilotWaypoint>

Properties

BeaconDisplayText

Declaration
public string BeaconDisplayText { get; }
Property Value
Type Description
System.String

BeaconWorldPosition

Declaration
public Vector3D BeaconWorldPosition { get; }
Property Value
Type Description
Vector3D

ComponentTypeDebugString

Declaration
public override string ComponentTypeDebugString { get; }
Property Value
Type Description
System.String
Overrides
MyEntityComponentBase.ComponentTypeDebugString

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
Type Name Description
IMyAutopilotWaypoint waypoint

CreateTerminalControls<T>()

Declaration
public void CreateTerminalControls<T>()
    where T : MyTerminalBlock
Type Parameters
Name Description
T

Deserialize(MyObjectBuilder_ComponentBase)

Declaration
public override void Deserialize(MyObjectBuilder_ComponentBase builder)
Parameters
Type Name Description
MyObjectBuilder_ComponentBase builder
Overrides
MyComponentBase.Deserialize(MyObjectBuilder_ComponentBase)

DrawPath()

Declaration
public void DrawPath()

GetWaypoints(List<IMyAutopilotWaypoint>)

Declaration
public void GetWaypoints(List<IMyAutopilotWaypoint> points)
Parameters
Type Name Description
System.Collections.Generic.List<IMyAutopilotWaypoint> points

Init(MyComponentDefinitionBase)

Declaration
public override void Init(MyComponentDefinitionBase definition)
Parameters
Type Name Description
MyComponentDefinitionBase definition
Overrides
MyComponentBase.Init(MyComponentDefinitionBase)

IsPathShown()

Declaration
public bool IsPathShown()
Returns
Type Description
System.Boolean

IsSerialized()

Declaration
public override bool IsSerialized()
Returns
Type Description
System.Boolean
Overrides
MyComponentBase.IsSerialized()

OnAddedToContainer()

Declaration
public override void OnAddedToContainer()
Overrides
MyEntityComponentBase.OnAddedToContainer()

OnBeforeRemovedFromContainer()

Declaration
public override void OnBeforeRemovedFromContainer()
Overrides
MyEventProxyEntityComponent.OnBeforeRemovedFromContainer()

OnRemovedFromScene()

Declaration
public override void OnRemovedFromScene()
Overrides
MyComponentBase.OnRemovedFromScene()

Play()

Declaration
public void Play()

Record()

Declaration
public void Record()

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
Type Name Description
IMyAutopilotWaypoint waypoint

ReverseOrder()

Declaration
public void ReverseOrder()

Serialize(Boolean)

Declaration
public override MyObjectBuilder_ComponentBase Serialize(bool copy = false)
Parameters
Type Name Description
System.Boolean copy
Returns
Type Description
MyObjectBuilder_ComponentBase
Overrides
MyComponentBase.Serialize(Boolean)

StopPlay()

Declaration
public void StopPlay()

StopRecord()

Declaration
public void StopRecord()

UpdateAfterSimulation100()

Declaration
public void UpdateAfterSimulation100()

Events

IsPlayingChanged

Declaration
public event Action<IMyPathRecorderComponent> IsPlayingChanged
Event Type
Type Description
System.Action<IMyPathRecorderComponent>

IsRecordingChanged

Declaration
public event Action<IMyPathRecorderComponent> IsRecordingChanged
Event Type
Type Description
System.Action<IMyPathRecorderComponent>

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

IMyPathRecorderComponent
IMyPathRecorderComponent

Extension Methods

MyEntityContainerEventExtensions.RegisterForEntityEvent(MyEntityComponentBase, MyStringHash, MyEntityContainerEventExtensions.EntityEventHandler)
MyEntityContainerEventExtensions.RegisterForEntityEvent(MyEntityComponentBase, MyEntity, MyStringHash, MyEntityContainerEventExtensions.EntityEventHandler)
MyEntityContainerEventExtensions.UnregisterForEntityEvent(MyEntityComponentBase, MyEntity, MyStringHash)
MyEntityContainerEventExtensions.RaiseEntityEvent(MyEntityComponentBase, MyStringHash, MyEntityContainerEventExtensions.EntityEventParams)
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾