"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ScenePixelPickUC = void 0;
exports.scenePixelPick = scenePixelPick;
const core_1 = require("@vived/core");
class ScenePixelPickUC extends core_1.AppObjectUC {
}
exports.ScenePixelPickUC = ScenePixelPickUC;
ScenePixelPickUC.type = "ScenePixelPickUC";
ScenePixelPickUC.get = (appObjects) => (0, core_1.getSingletonComponent)(ScenePixelPickUC.type, appObjects);
function scenePixelPick(pixelPos, appObjects) {
    const uc = ScenePixelPickUC.get(appObjects);
    if (!uc) {
        appObjects.submitWarning("scenePixelPick", "Unable to find ScenePixelPickUC");
        return;
    }
    return uc.scenePixelPick(pixelPos);
}
//# sourceMappingURL=ScenePixelPickUC.js.map