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
| Parameter | Type |
|---|---|
config | BodyConfig |