UNPKG

neos-script

Version:

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

23 lines (22 loc) 8.54 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.ConnectionWire = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function ConnectionWire(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, InputField = props.InputField, TargetTangent = props.TargetTangent, TargetSlot = props.TargetSlot, TempWire = props.TempWire, SetupSource = props.SetupSource, SetupMethod = props.SetupMethod, WirePoint = props.WirePoint, WireTangent = props.WireTangent, WireOrientation = props.WireOrientation, WireWidth = props.WireWidth, WireSlot = props.WireSlot, Material = props.Material, TypeColor = props.TypeColor; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.LogiX.ConnectionWire", 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.RelayRef`1[FrooxEngine.ISyncRef]", name: "InputField", id: typeof InputField === "object" && "id" in InputField ? InputField === null || InputField === void 0 ? void 0 : InputField.id : undefined, value: typeof InputField === "object" && "value" in InputField ? InputField === null || InputField === void 0 ? void 0 : InputField.value : InputField, isRaw: typeof InputField === "object" && "isRaw" in InputField && InputField.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "TargetTangent", id: typeof TargetTangent === "object" && "id" in TargetTangent ? TargetTangent === null || TargetTangent === void 0 ? void 0 : TargetTangent.id : undefined, value: typeof TargetTangent === "object" && "value" in TargetTangent ? TargetTangent === null || TargetTangent === void 0 ? void 0 : TargetTangent.value : TargetTangent, isRaw: typeof TargetTangent === "object" && "isRaw" in TargetTangent && TargetTangent.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.TransformRelayRef", name: "TargetSlot", id: typeof TargetSlot === "object" && "id" in TargetSlot ? TargetSlot === null || TargetSlot === void 0 ? void 0 : TargetSlot.id : undefined, value: typeof TargetSlot === "object" && "value" in TargetSlot ? TargetSlot === null || TargetSlot === void 0 ? void 0 : TargetSlot.value : TargetSlot, isRaw: typeof TargetSlot === "object" && "isRaw" in TargetSlot && TargetSlot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "TempWire", id: typeof TempWire === "object" && "id" in TempWire ? TempWire === null || TempWire === void 0 ? void 0 : TempWire.id : undefined, value: typeof TempWire === "object" && "value" in TempWire ? TempWire === null || TempWire === void 0 ? void 0 : TempWire.value : TempWire, isRaw: typeof TempWire === "object" && "isRaw" in TempWire && TempWire.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.IWorldElement]", name: "SetupSource", id: typeof SetupSource === "object" && "id" in SetupSource ? SetupSource === null || SetupSource === void 0 ? void 0 : SetupSource.id : undefined, value: typeof SetupSource === "object" && "value" in SetupSource ? SetupSource === null || SetupSource === void 0 ? void 0 : SetupSource.value : SetupSource, isRaw: typeof SetupSource === "object" && "isRaw" in SetupSource && SetupSource.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "SetupMethod", id: typeof SetupMethod === "object" && "id" in SetupMethod ? SetupMethod === null || SetupMethod === void 0 ? void 0 : SetupMethod.id : undefined, value: typeof SetupMethod === "object" && "value" in SetupMethod ? SetupMethod === null || SetupMethod === void 0 ? void 0 : SetupMethod.value : SetupMethod, isRaw: typeof SetupMethod === "object" && "isRaw" in SetupMethod && SetupMethod.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.float3]", name: "WirePoint", id: typeof WirePoint === "object" && "id" in WirePoint ? WirePoint === null || WirePoint === void 0 ? void 0 : WirePoint.id : undefined, value: typeof WirePoint === "object" && "value" in WirePoint ? WirePoint === null || WirePoint === void 0 ? void 0 : WirePoint.value : WirePoint, isRaw: typeof WirePoint === "object" && "isRaw" in WirePoint && WirePoint.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.float3]", name: "WireTangent", id: typeof WireTangent === "object" && "id" in WireTangent ? WireTangent === null || WireTangent === void 0 ? void 0 : WireTangent.id : undefined, value: typeof WireTangent === "object" && "value" in WireTangent ? WireTangent === null || WireTangent === void 0 ? void 0 : WireTangent.value : WireTangent, isRaw: typeof WireTangent === "object" && "isRaw" in WireTangent && WireTangent.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.floatQ]", name: "WireOrientation", id: typeof WireOrientation === "object" && "id" in WireOrientation ? WireOrientation === null || WireOrientation === void 0 ? void 0 : WireOrientation.id : undefined, value: typeof WireOrientation === "object" && "value" in WireOrientation ? WireOrientation === null || WireOrientation === void 0 ? void 0 : WireOrientation.value : WireOrientation, isRaw: typeof WireOrientation === "object" && "isRaw" in WireOrientation && WireOrientation.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[System.Single]", name: "WireWidth", id: typeof WireWidth === "object" && "id" in WireWidth ? WireWidth === null || WireWidth === void 0 ? void 0 : WireWidth.id : undefined, value: typeof WireWidth === "object" && "value" in WireWidth ? WireWidth === null || WireWidth === void 0 ? void 0 : WireWidth.value : WireWidth, isRaw: typeof WireWidth === "object" && "isRaw" in WireWidth && WireWidth.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "WireSlot", id: typeof WireSlot === "object" && "id" in WireSlot ? WireSlot === null || WireSlot === void 0 ? void 0 : WireSlot.id : undefined, value: typeof WireSlot === "object" && "value" in WireSlot ? WireSlot === null || WireSlot === void 0 ? void 0 : WireSlot.value : WireSlot, isRaw: typeof WireSlot === "object" && "isRaw" in WireSlot && WireSlot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.FresnelMaterial]", name: "Material", id: typeof Material === "object" && "id" in Material ? Material === null || Material === void 0 ? void 0 : Material.id : undefined, value: typeof Material === "object" && "value" in Material ? Material === null || Material === void 0 ? void 0 : Material.value : Material, isRaw: typeof Material === "object" && "isRaw" in Material && Material.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "TypeColor", id: typeof TypeColor === "object" && "id" in TypeColor ? TypeColor === null || TypeColor === void 0 ? void 0 : TypeColor.id : undefined, value: typeof TypeColor === "object" && "value" in TypeColor ? TypeColor === null || TypeColor === void 0 ? void 0 : TypeColor.value : TypeColor, isRaw: typeof TypeColor === "object" && "isRaw" in TypeColor && TypeColor.isRaw ? true : undefined })] }))); } exports.ConnectionWire = ConnectionWire; ;