Class CelestialDataProvider
- Namespace
- KSP.Game
- Assembly
- Assembly-CSharp.dll
public class CelestialDataProvider : DataBus<CelestialBodyComponent>
- Inheritance
-
CelestialDataProvider
- Inherited Members
-
- Extension Methods
-
Constructors
CelestialDataProvider(CelestialBodyComponent)
public CelestialDataProvider(CelestialBodyComponent dataSource)
Parameters
dataSource CelestialBodyComponent
Properties
Albedo
public IProperty<double> Albedo { get; }
Property Value
- IProperty<double>
AtmosphereDepth
public IProperty<double> AtmosphereDepth { get; }
Property Value
- IProperty<double>
GetRelevantStar
public IProperty<CelestialDataProvider> GetRelevantStar { get; }
Property Value
- IProperty<CelestialDataProvider>
HasAtmosphere
public IProperty<bool> HasAtmosphere { get; }
Property Value
- IProperty<bool>
IsStar
public IProperty<bool> IsStar { get; }
Property Value
- IProperty<bool>
OrbitingBodies
public IProperty<IEnumerable<CelestialDataProvider>> OrbitingBodies { get; }
Property Value
- IProperty<IEnumerable<CelestialDataProvider>>
Position
public IProperty<Position> Position { get; }
Property Value
- IProperty<Position>
Radius
public IProperty<double> Radius { get; }
Property Value
- IProperty<double>
ReferenceBody
public IProperty<CelestialDataProvider> ReferenceBody { get; }
Property Value
- IProperty<CelestialDataProvider>
Methods
ValidateProperties()
protected override void ValidateProperties()