Table of Contents

Interface IUniverseTime

Namespace
KSP.Sim
Assembly
Assembly-CSharp.dll
public interface IUniverseTime
Extension Methods

Properties

IsTimePaused

bool IsTimePaused { get; }

Property Value

bool

TimeScale

float TimeScale { get; }

Property Value

float

UniverseTime

double UniverseTime { get; }

Property Value

double

Methods

SetTimePaused(bool)

bool SetTimePaused(bool isPaused)

Parameters

isPaused bool

Returns

bool

SetTimeScale(float, bool)

void SetTimeScale(float rate, bool scalePhysics)

Parameters

rate float
scalePhysics bool

Events

PausedChanged

event Action<bool> PausedChanged

Event Type

Action<bool>

TimescaleChanged

event Action<bool, TimeScaleValues> TimescaleChanged

Event Type

Action<bool, TimeScaleValues>