Skip to content

Function: strategyFor() ​

ts
function strategyFor(config): BodyTypeStrategy;

Resolves the strategy for a body. Stars use a fixed strategy (their pipeline is structurally different); planetary bodies pick a SurfaceLook, defaulting to 'terrain' when the config omits it.

Parameters ​

ParameterType
configBodyConfig

Returns ​

BodyTypeStrategy

Distribué sous la licence indiquée dans le dépôt.