Table of Contents

Class CelestialBodyAssetLoader

Namespace
KSP.Game
Assembly
Assembly-CSharp.dll
public class CelestialBodyAssetLoader : KerbalMonoBehaviour
Inheritance
CelestialBodyAssetLoader
Inherited Members
Extension Methods

Constructors

CelestialBodyAssetLoader()

public CelestialBodyAssetLoader()

Fields

LocalSpaceLoadFinished

public Action<string, bool> LocalSpaceLoadFinished

Field Value

Action<string, bool>

LocalSpaceUnloadFinished

public Action<string> LocalSpaceUnloadFinished

Field Value

Action<string>

ScaledSpaceLoadFinished

public Action<string, bool> ScaledSpaceLoadFinished

Field Value

Action<string, bool>

ScaledSpaceUnloadFinished

public Action<string> ScaledSpaceUnloadFinished

Field Value

Action<string>

Properties

CurrentLoadedLocalSpaceBody

public CelestialBodyComponent CurrentLoadedLocalSpaceBody { get; }

Property Value

CelestialBodyComponent

Methods

BeginLoadLocalSpaceView(CelestialBodyComponent)

public void BeginLoadLocalSpaceView(CelestialBodyComponent model)

Parameters

model CelestialBodyComponent

BeginLoadLocalSpaceView(CelestialBodyComponent, Action<string, bool>)

public void BeginLoadLocalSpaceView(CelestialBodyComponent model, Action<string, bool> finishedCallback)

Parameters

model CelestialBodyComponent
finishedCallback Action<string, bool>

BeginLoadScaledSpaceView(CelestialBodyComponent)

public void BeginLoadScaledSpaceView(CelestialBodyComponent model)

Parameters

model CelestialBodyComponent

CoroutineLoadLocalSpaceView(CelestialBodyComponent)

public IEnumerator CoroutineLoadLocalSpaceView(CelestialBodyComponent model)

Parameters

model CelestialBodyComponent

Returns

IEnumerator

CoroutineLoadScaledSpaceView(CelestialBodyComponent)

public IEnumerator CoroutineLoadScaledSpaceView(CelestialBodyComponent model)

Parameters

model CelestialBodyComponent

Returns

IEnumerator

GetDistance(Position, CelestialBodyComponent)

public double GetDistance(Position observerPos, CelestialBodyComponent celestialBodyComponent)

Parameters

observerPos Position
celestialBodyComponent CelestialBodyComponent

Returns

double

HasLocalSpace(string)

public bool HasLocalSpace(string bodyName)

Parameters

bodyName string

Returns

bool

IsLoadingLocalSpace(string)

public bool IsLoadingLocalSpace(string bodyName)

Parameters

bodyName string

Returns

bool

IsLoadingScaledSpace(string)

public bool IsLoadingScaledSpace(string bodyName)

Parameters

bodyName string

Returns

bool

IsLocalSpaceLoaded(string)

public bool IsLocalSpaceLoaded(string bodyName)

Parameters

bodyName string

Returns

bool

IsScaledSpaceLoaded(string)

public bool IsScaledSpaceLoaded(string bodyName)

Parameters

bodyName string

Returns

bool

LoadNewLocalSpaceView(CelestialBodyComponent)

public void LoadNewLocalSpaceView(CelestialBodyComponent referenceBody)

Parameters

referenceBody CelestialBodyComponent

LoadUnloadVisibleScaledSpaceBodies(Position)

public void LoadUnloadVisibleScaledSpaceBodies(Position position)

Parameters

position Position

PerformReferenceBodySync(CelestialBodyComponent)

public bool PerformReferenceBodySync(CelestialBodyComponent referenceBody)

Parameters

referenceBody CelestialBodyComponent

Returns

bool

UnloadLocalSpaceView(CelestialBodyComponent)

public void UnloadLocalSpaceView(CelestialBodyComponent model)

Parameters

model CelestialBodyComponent

UnloadScaledSpaceView(CelestialBodyComponent)

public void UnloadScaledSpaceView(CelestialBodyComponent model)

Parameters

model CelestialBodyComponent

UpdateLocalPlayersCurrentLoadedLocalSpaceBody()

public void UpdateLocalPlayersCurrentLoadedLocalSpaceBody()