UNPKG

neos-script

Version:

[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)

23 lines (22 loc) 3.73 kB
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.ColliderEventRelay = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function ColliderEventRelay(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Collider = props.Collider, ContactStart = props.ContactStart, ContactStay = props.ContactStay, ContactEnd = props.ContactEnd; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.ColliderEventRelay", id: id, persistentId: persistentId, updateOrder: updateOrder }, { children: [(0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "Enabled", id: typeof Enabled === "object" && "id" in Enabled ? Enabled === null || Enabled === void 0 ? void 0 : Enabled.id : undefined, value: typeof Enabled === "object" && "value" in Enabled ? Enabled === null || Enabled === void 0 ? void 0 : Enabled.value : Enabled !== null && Enabled !== void 0 ? Enabled : true, isRaw: typeof Enabled === "object" && "isRaw" in Enabled && Enabled.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.ICollider]", name: "Collider", id: typeof Collider === "object" && "id" in Collider ? Collider === null || Collider === void 0 ? void 0 : Collider.id : undefined, value: typeof Collider === "object" && "value" in Collider ? Collider === null || Collider === void 0 ? void 0 : Collider.value : Collider, isRaw: typeof Collider === "object" && "isRaw" in Collider && Collider.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncDelegate`1[FrooxEngine.ContactEvent]", name: "ContactStart", id: typeof ContactStart === "object" && "id" in ContactStart ? ContactStart === null || ContactStart === void 0 ? void 0 : ContactStart.id : undefined, value: typeof ContactStart === "object" && "value" in ContactStart ? ContactStart === null || ContactStart === void 0 ? void 0 : ContactStart.value : ContactStart, isRaw: typeof ContactStart === "object" && "isRaw" in ContactStart && ContactStart.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncDelegate`1[FrooxEngine.ContactEvent]", name: "ContactStay", id: typeof ContactStay === "object" && "id" in ContactStay ? ContactStay === null || ContactStay === void 0 ? void 0 : ContactStay.id : undefined, value: typeof ContactStay === "object" && "value" in ContactStay ? ContactStay === null || ContactStay === void 0 ? void 0 : ContactStay.value : ContactStay, isRaw: typeof ContactStay === "object" && "isRaw" in ContactStay && ContactStay.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncDelegate`1[FrooxEngine.ContactEvent]", name: "ContactEnd", id: typeof ContactEnd === "object" && "id" in ContactEnd ? ContactEnd === null || ContactEnd === void 0 ? void 0 : ContactEnd.id : undefined, value: typeof ContactEnd === "object" && "value" in ContactEnd ? ContactEnd === null || ContactEnd === void 0 ? void 0 : ContactEnd.value : ContactEnd, isRaw: typeof ContactEnd === "object" && "isRaw" in ContactEnd && ContactEnd.isRaw ? true : undefined })] }))); } exports.ColliderEventRelay = ColliderEventRelay; ;