UNPKG

neos-script

Version:

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

23 lines (22 loc) 5.26 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.PatreonSkyController = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function PatreonSkyController(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Radius = props.Radius, NormalizedStart = props.NormalizedStart, NormalizedEnd = props.NormalizedEnd, NameSize = props.NameSize, PictureSize = props.PictureSize, MaxAngle = props.MaxAngle, NameColor = props.NameColor; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.PatreonSkyController", 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: "Radius", id: typeof Radius === "object" && "id" in Radius ? Radius === null || Radius === void 0 ? void 0 : Radius.id : undefined, value: typeof Radius === "object" && "value" in Radius ? Radius === null || Radius === void 0 ? void 0 : Radius.value : Radius, isRaw: typeof Radius === "object" && "isRaw" in Radius && Radius.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "NormalizedStart", id: typeof NormalizedStart === "object" && "id" in NormalizedStart ? NormalizedStart === null || NormalizedStart === void 0 ? void 0 : NormalizedStart.id : undefined, value: typeof NormalizedStart === "object" && "value" in NormalizedStart ? NormalizedStart === null || NormalizedStart === void 0 ? void 0 : NormalizedStart.value : NormalizedStart, isRaw: typeof NormalizedStart === "object" && "isRaw" in NormalizedStart && NormalizedStart.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "NormalizedEnd", id: typeof NormalizedEnd === "object" && "id" in NormalizedEnd ? NormalizedEnd === null || NormalizedEnd === void 0 ? void 0 : NormalizedEnd.id : undefined, value: typeof NormalizedEnd === "object" && "value" in NormalizedEnd ? NormalizedEnd === null || NormalizedEnd === void 0 ? void 0 : NormalizedEnd.value : NormalizedEnd, isRaw: typeof NormalizedEnd === "object" && "isRaw" in NormalizedEnd && NormalizedEnd.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "NameSize", id: typeof NameSize === "object" && "id" in NameSize ? NameSize === null || NameSize === void 0 ? void 0 : NameSize.id : undefined, value: typeof NameSize === "object" && "value" in NameSize ? NameSize === null || NameSize === void 0 ? void 0 : NameSize.value : NameSize, isRaw: typeof NameSize === "object" && "isRaw" in NameSize && NameSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "PictureSize", id: typeof PictureSize === "object" && "id" in PictureSize ? PictureSize === null || PictureSize === void 0 ? void 0 : PictureSize.id : undefined, value: typeof PictureSize === "object" && "value" in PictureSize ? PictureSize === null || PictureSize === void 0 ? void 0 : PictureSize.value : PictureSize, isRaw: typeof PictureSize === "object" && "isRaw" in PictureSize && PictureSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "MaxAngle", id: typeof MaxAngle === "object" && "id" in MaxAngle ? MaxAngle === null || MaxAngle === void 0 ? void 0 : MaxAngle.id : undefined, value: typeof MaxAngle === "object" && "value" in MaxAngle ? MaxAngle === null || MaxAngle === void 0 ? void 0 : MaxAngle.value : MaxAngle, isRaw: typeof MaxAngle === "object" && "isRaw" in MaxAngle && MaxAngle.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "NameColor", id: typeof NameColor === "object" && "id" in NameColor ? NameColor === null || NameColor === void 0 ? void 0 : NameColor.id : undefined, value: typeof NameColor === "object" && "value" in NameColor ? NameColor === null || NameColor === void 0 ? void 0 : NameColor.value : NameColor, isRaw: typeof NameColor === "object" && "isRaw" in NameColor && NameColor.isRaw ? true : undefined })] }))); } exports.PatreonSkyController = PatreonSkyController; ;