Simulator::cScanToolStrategy class

Base classes

class cDefaultBeamTool

Public static variables

static const uint32_t STRATEGY_ID

Public functions

auto OnSelect(cSpaceToolData* pTool) -> bool override
Called when the user clicks on the tool button to select it.
auto OnHit(cSpaceToolData* pTool, const Vector3& position, cSpaceToolData::SpaceToolHit hitType, int) -> bool override

Function documentation

bool Simulator::cScanToolStrategy::OnSelect(cSpaceToolData* pTool) override

Called when the user clicks on the tool button to select it.

Parameters
pTool The space tool.

The return value is ignored.