Show / Hide Table of Contents

Interface IMyPathRecorderComponent

Interface for modding PathRecorderComponent

Inherited Members
IMyPathRecorderComponent.RemoveBeacon()
IMyPathRecorderComponent.Play()
IMyPathRecorderComponent.StopPlay()
IMyPathRecorderComponent.Record()
IMyPathRecorderComponent.StopRecord()
IMyPathRecorderComponent.IsPlaying
IMyPathRecorderComponent.IsRecording
IMyPathRecorderComponent.BeaconEntityId
IMyPathRecorderComponent.BeaconWorldPosition
IMyPathRecorderComponent.BeaconDisplayText
IMyPathRecorderComponent.RepeatPath
IMyPathRecorderComponent.ShowPath
IMyPathRecorderComponent.ShowSelectedPoints
IMyPathRecorderComponent.RecordInterval
IMyPathRecorderComponent.MinimalDistance
Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common.dll
Syntax
public interface IMyPathRecorderComponent : IMyPathRecorderComponent

Methods

AddWaypoint(IMyAutopilotWaypoint)

Adds a waypoint unless the waypoint limit is already reached

Declaration
void AddWaypoint(IMyAutopilotWaypoint waypoint)
Parameters
Type Name Description
IMyAutopilotWaypoint waypoint

DeleteAllWaypoints()

Deletes all waypoints

Declaration
void DeleteAllWaypoints()

GetWaypoints(List<IMyAutopilotWaypoint>)

Gets list of waypoints in this component

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

RemoveWaypoint(IMyAutopilotWaypoint)

Removes waypoint

Declaration
void RemoveWaypoint(IMyAutopilotWaypoint waypoint)
Parameters
Type Name Description
IMyAutopilotWaypoint waypoint

Waypoint to remove

ReverseOrder()

Reverses order of waypoints

Declaration
void ReverseOrder()

Events

IsPlayingChanged

Event triggered when IsPlaying changes

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

IsRecordingChanged

Event triggered when IsRecording changes

Declaration
event Action<IMyPathRecorderComponent> IsRecordingChanged
Event Type
Type Description
System.Action<IMyPathRecorderComponent>
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾