-
Perception
Classes and Structs
| Name | Description |
|---|---|
sense_detection_event |
Common fields on every sense detection event. |
hearing_data |
Hearing perception data. |
hearing_detection_event |
Perception event for Hearing. |
hearing_emitter_component |
Marks an entity as something that can be heard. |
hearing_detector_component |
Marks an entity as something that can hear. |
sight_data |
Sight perception data. |
sight_detection_event |
Perception event for Sight. |
sight_emitter_component |
Marks an entity as something that can be seen. |
sight_detector_component |
Marks an entity as something that can see. HalfAngle, Range, and NearClipRadius together define the sight cone, aligned along the entity's Forward axis. |
touch_data |
Touch perception data. Carries the underlying collision_hit verbatim so consumers get impulse, contact location, normal, other-entity reference, and any other collision fields the platform exposes. |
touch_detection_event |
Touch perception event. DetectionState is Active on the first mesh_part contact with an emitter, Inactive when the last separates. TouchData is a snapshot fixed at the transition; for values tracking the ongoing contact call Detector.GetCurrentTouchData during Active. Cast an incoming scene_event via touch_detection_event[E] for typed access. |
touch_emitter_component |
Marks an entity as something that can be touched. Placement matters: collisions look upward through the scene graph from the colliding entity to find the nearest ancestor bearing a touch_emitter_component; a collision with no touch_emitter anywhere in the ancestry fires no event. |
touch_detector_component |
Marks an entity as something that perceives touch. Sources collision events from its Meshes. The detector defers subscribing to those mesh events until it has at least one subscriber, and tears the subscriptions down when the last subscriber cancels. |
Interfaces
| Name | Description |
|---|---|
spatial_sense_emitter |
Paired with a |
spatial_sense_detector |
Paired with a |
Enumerations
| Name | Description |
|---|---|
sense_detection_state |
Detection lifecycle stage carried on every perception event. |