Class

ControlledTrafficAircraft

USI.Core

A provider-neutral handle for one traffic aircraft created and owned by this USI connection.

public sealed class ControlledTrafficAircraft : IAsyncDisposable

Properties

Identifier

public string Identifier { get; }

Stable USI identity; it is not a provider object ID or array index.

IsActive

public bool IsActive { get; }

LastCommandedExteriorLights

public NearbyAircraftExteriorLights? LastCommandedExteriorLights { get; }

The last exterior-light selection accepted by USI, or until this connection commands one.

LastCommandedPose

public ControlledTrafficAircraftPose LastCommandedPose { get; }

The last geographic pose accepted by USI for this object.

LastCommandedPresentation

public ControlledTrafficAircraftPresentation? LastCommandedPresentation { get; }

The last traffic-aircraft presentation accepted by USI, or until this connection commands one.

Events

Removed

public event EventHandler<ControlledTrafficAircraftRemovedEventArgs> Removed

Methods

DisposeAsync

public ValueTask DisposeAsync()

TryRemoveAsync

public Task<USIResult> TryRemoveAsync()

Removes the aircraft created by this USI connection.

TrySetExteriorLightsAsync

public Task<USIResult> TrySetExteriorLightsAsync(NearbyAircraftExteriorLights lights)

Selects the standard exterior lights presented on this traffic aircraft. Unsupported model-specific light kinds are not inferred or exposed.

TrySetPoseAsync

public Task<USIResult> TrySetPoseAsync(ControlledTrafficAircraftPose pose)

Updates the aircraft's normalized geographic pose.

TrySetPresentationAsync

public Task<USIResult> TrySetPresentationAsync(ControlledTrafficAircraftPresentation presentation)

Sets normalized visual configuration and pilot-control presentation. This does not claim aerodynamic control or achieved physical state.