Epok Engine

EPOK RUNTIME

epok::interaction::sensor_event

Function · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function

Performs `sensor event` as part of the interaction module.

Belongs to
epok::interaction
Header
interaction.hpp
Overloads
1

Declaration

Declaration
inline void sensor_event(ActorComponent& sensor,ObjectId target,ObjectId accepted,ObjectId other,TriggerPhase phase)

Performs `sensor event` as part of the interaction module.

ParameterTypeMeaning
sensorActorComponent &Not documented; consult the linked header.
targetObjectIdNot documented; consult the linked header.
acceptedObjectIdNot documented; consult the linked header.
otherObjectIdNot documented; consult the linked header.
phaseTriggerPhaseNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "interaction.hpp"

// Assume these named values have been initialized with valid data:
// ActorComponent & sensor
// ObjectId target
// ObjectId accepted
// ObjectId other
// TriggerPhase phase

epok::interaction::sensor_event(sensor, target, accepted, other, phase);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/interaction.hpp:309

Related members