Contents

SushiEngine::Simulation::IWorldEditor

surface_heading_body

virtual int surface_heading_body(EntityId id) const =0

Parameters

NameType
idEntityId

Returns

int

The celestial body index, or -1 when the reference has never been advanced or was advanced against the environment's own figure with no body resolvable.

Description

Returns the reference body surface_heading_reference was last advanced against.

See also

engine/world/simulation/include/EDITOR.md