Skip to main content

MediaSelectionHit

MediaSelectionHit

Closest selectable entity at a canvas position.

#include <MediaSelectionHit.hpp>

Public Attributes

Name
EntityId entity_id
std::string data_key
std::string data_type
“line”, “point”, or “mask”
double distance_px
Scene-space distance used for ranking.

Public Attributes Documentation

variable entity_id

EntityId entity_id {};

variable data_key

std::string data_key;

variable data_type

std::string data_type;

“line”, “point”, or “mask”

variable distance_px

double distance_px {};

Scene-space distance used for ranking.


Updated on 2026-11-13 at 20:25:39 +0000