Class

SimulatorState

USI.Core

Public SDK type.

public sealed class SimulatorState : ISimulatorState

Events

PausedChanged

public event EventHandler<PausedStateChangedEventArgs> PausedChanged

Methods

TryGetActualSimulationRateAsync

public Task<USIResult<Double>> TryGetActualSimulationRateAsync()

TryGetAltitudeFrozenAsync

public Task<USIResult<Boolean>> TryGetAltitudeFrozenAsync()

TryGetApproximateGpuFrameDurationAsync

public Task<USIResult<TimeSpan>> TryGetApproximateGpuFrameDurationAsync()

TryGetAttitudeFrozenAsync

public Task<USIResult<Boolean>> TryGetAttitudeFrozenAsync()

TryGetGroundDistanceMultiplierAsync

public Task<USIResult<Double>> TryGetGroundDistanceMultiplierAsync()

TryGetHorizontalPositionFrozenAsync

public Task<USIResult<Boolean>> TryGetHorizontalPositionFrozenAsync()

TryGetPausedAsync

public Task<USIResult<Boolean>> TryGetPausedAsync()

TryGetSimulationEnabledAsync

public Task<USIResult<Boolean>> TryGetSimulationEnabledAsync()

TryGetSimulationRateAsync

public Task<USIResult<Double>> TryGetSimulationRateAsync()

TryGetSlewActiveAsync

public Task<USIResult<Boolean>> TryGetSlewActiveAsync()

TryGetSlewAllowedAsync

public Task<USIResult<Boolean>> TryGetSlewAllowedAsync()

TryGetSmoothedFrameDurationAsync

public Task<USIResult<TimeSpan>> TryGetSmoothedFrameDurationAsync()

TryGetTimeDilationAdjustedSimulationRateAsync

public Task<USIResult<Double>> TryGetTimeDilationAdjustedSimulationRateAsync()

TryGetUserAircraftMotionActiveAsync

public Task<USIResult<Boolean>> TryGetUserAircraftMotionActiveAsync()

TryGetUserInputEnabledAsync

public Task<USIResult<Boolean>> TryGetUserInputEnabledAsync()

TrySetAltitudeFrozenAsync

public Task<USIResult> TrySetAltitudeFrozenAsync(bool frozen)

TrySetAttitudeFrozenAsync

public Task<USIResult> TrySetAttitudeFrozenAsync(bool frozen)

TrySetGroundDistanceMultiplierAsync

public Task<USIResult> TrySetGroundDistanceMultiplierAsync(double multiplier)

TrySetHorizontalPositionFrozenAsync

public Task<USIResult> TrySetHorizontalPositionFrozenAsync(bool frozen)

TrySetPausedAsync

public Task<USIResult> TrySetPausedAsync(bool isPaused)

TrySetSimulationRateAsync

public Task<USIResult> TrySetSimulationRateAsync(int multiplier)

TrySetSlewActiveAsync

public Task<USIResult> TrySetSlewActiveAsync(bool isActive)