UNPKG

neos-script

Version:

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

23 lines (22 loc) 7.6 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.CylindricalDistanceHapticFilter = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../../core"); function CylindricalDistanceHapticFilter(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, StartRadius = props.StartRadius, EndRadius = props.EndRadius, StartRadiusIntensity = props.StartRadiusIntensity, EndRadiusIntensity = props.EndRadiusIntensity, RadiusPower = props.RadiusPower, StartAxisOffset = props.StartAxisOffset, EndAxisOffset = props.EndAxisOffset, StartAxisIntensity = props.StartAxisIntensity, EndAxisIntensity = props.EndAxisIntensity, AxisPower = props.AxisPower; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.CylindricalDistanceHapticFilter", 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.Sync`1[System.Single]", name: "StartRadius", id: typeof StartRadius === "object" && "id" in StartRadius ? StartRadius === null || StartRadius === void 0 ? void 0 : StartRadius.id : undefined, value: typeof StartRadius === "object" && "value" in StartRadius ? StartRadius === null || StartRadius === void 0 ? void 0 : StartRadius.value : StartRadius, isRaw: typeof StartRadius === "object" && "isRaw" in StartRadius && StartRadius.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "EndRadius", id: typeof EndRadius === "object" && "id" in EndRadius ? EndRadius === null || EndRadius === void 0 ? void 0 : EndRadius.id : undefined, value: typeof EndRadius === "object" && "value" in EndRadius ? EndRadius === null || EndRadius === void 0 ? void 0 : EndRadius.value : EndRadius, isRaw: typeof EndRadius === "object" && "isRaw" in EndRadius && EndRadius.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "StartRadiusIntensity", id: typeof StartRadiusIntensity === "object" && "id" in StartRadiusIntensity ? StartRadiusIntensity === null || StartRadiusIntensity === void 0 ? void 0 : StartRadiusIntensity.id : undefined, value: typeof StartRadiusIntensity === "object" && "value" in StartRadiusIntensity ? StartRadiusIntensity === null || StartRadiusIntensity === void 0 ? void 0 : StartRadiusIntensity.value : StartRadiusIntensity, isRaw: typeof StartRadiusIntensity === "object" && "isRaw" in StartRadiusIntensity && StartRadiusIntensity.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "EndRadiusIntensity", id: typeof EndRadiusIntensity === "object" && "id" in EndRadiusIntensity ? EndRadiusIntensity === null || EndRadiusIntensity === void 0 ? void 0 : EndRadiusIntensity.id : undefined, value: typeof EndRadiusIntensity === "object" && "value" in EndRadiusIntensity ? EndRadiusIntensity === null || EndRadiusIntensity === void 0 ? void 0 : EndRadiusIntensity.value : EndRadiusIntensity, isRaw: typeof EndRadiusIntensity === "object" && "isRaw" in EndRadiusIntensity && EndRadiusIntensity.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "RadiusPower", id: typeof RadiusPower === "object" && "id" in RadiusPower ? RadiusPower === null || RadiusPower === void 0 ? void 0 : RadiusPower.id : undefined, value: typeof RadiusPower === "object" && "value" in RadiusPower ? RadiusPower === null || RadiusPower === void 0 ? void 0 : RadiusPower.value : RadiusPower, isRaw: typeof RadiusPower === "object" && "isRaw" in RadiusPower && RadiusPower.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "StartAxisOffset", id: typeof StartAxisOffset === "object" && "id" in StartAxisOffset ? StartAxisOffset === null || StartAxisOffset === void 0 ? void 0 : StartAxisOffset.id : undefined, value: typeof StartAxisOffset === "object" && "value" in StartAxisOffset ? StartAxisOffset === null || StartAxisOffset === void 0 ? void 0 : StartAxisOffset.value : StartAxisOffset, isRaw: typeof StartAxisOffset === "object" && "isRaw" in StartAxisOffset && StartAxisOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "EndAxisOffset", id: typeof EndAxisOffset === "object" && "id" in EndAxisOffset ? EndAxisOffset === null || EndAxisOffset === void 0 ? void 0 : EndAxisOffset.id : undefined, value: typeof EndAxisOffset === "object" && "value" in EndAxisOffset ? EndAxisOffset === null || EndAxisOffset === void 0 ? void 0 : EndAxisOffset.value : EndAxisOffset, isRaw: typeof EndAxisOffset === "object" && "isRaw" in EndAxisOffset && EndAxisOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "StartAxisIntensity", id: typeof StartAxisIntensity === "object" && "id" in StartAxisIntensity ? StartAxisIntensity === null || StartAxisIntensity === void 0 ? void 0 : StartAxisIntensity.id : undefined, value: typeof StartAxisIntensity === "object" && "value" in StartAxisIntensity ? StartAxisIntensity === null || StartAxisIntensity === void 0 ? void 0 : StartAxisIntensity.value : StartAxisIntensity, isRaw: typeof StartAxisIntensity === "object" && "isRaw" in StartAxisIntensity && StartAxisIntensity.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "EndAxisIntensity", id: typeof EndAxisIntensity === "object" && "id" in EndAxisIntensity ? EndAxisIntensity === null || EndAxisIntensity === void 0 ? void 0 : EndAxisIntensity.id : undefined, value: typeof EndAxisIntensity === "object" && "value" in EndAxisIntensity ? EndAxisIntensity === null || EndAxisIntensity === void 0 ? void 0 : EndAxisIntensity.value : EndAxisIntensity, isRaw: typeof EndAxisIntensity === "object" && "isRaw" in EndAxisIntensity && EndAxisIntensity.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "AxisPower", id: typeof AxisPower === "object" && "id" in AxisPower ? AxisPower === null || AxisPower === void 0 ? void 0 : AxisPower.id : undefined, value: typeof AxisPower === "object" && "value" in AxisPower ? AxisPower === null || AxisPower === void 0 ? void 0 : AxisPower.value : AxisPower, isRaw: typeof AxisPower === "object" && "isRaw" in AxisPower && AxisPower.isRaw ? true : undefined })] }))); } exports.CylindricalDistanceHapticFilter = CylindricalDistanceHapticFilter; ;