UNPKG

neos-script

Version:

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

23 lines (22 loc) 5.2 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.OneTimeVideoPlayerTrigger = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function OneTimeVideoPlayerTrigger(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, AssignURL = props.AssignURL, VideoTexture = props.VideoTexture, CloudVariablePath = props.CloudVariablePath, VersionString = props.VersionString, WaitForAllAssetsToLoad = props.WaitForAllAssetsToLoad, DelaySeconds = props.DelaySeconds; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.OneTimeVideoPlayerTrigger", 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.Uri]", name: "AssignURL", id: typeof AssignURL === "object" && "id" in AssignURL ? AssignURL === null || AssignURL === void 0 ? void 0 : AssignURL.id : undefined, value: typeof AssignURL === "object" && "value" in AssignURL ? AssignURL === null || AssignURL === void 0 ? void 0 : AssignURL.value : AssignURL, isRaw: typeof AssignURL === "object" && "isRaw" in AssignURL && AssignURL.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.VideoTextureProvider]", name: "VideoTexture", id: typeof VideoTexture === "object" && "id" in VideoTexture ? VideoTexture === null || VideoTexture === void 0 ? void 0 : VideoTexture.id : undefined, value: typeof VideoTexture === "object" && "value" in VideoTexture ? VideoTexture === null || VideoTexture === void 0 ? void 0 : VideoTexture.value : VideoTexture, isRaw: typeof VideoTexture === "object" && "isRaw" in VideoTexture && VideoTexture.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "CloudVariablePath", id: typeof CloudVariablePath === "object" && "id" in CloudVariablePath ? CloudVariablePath === null || CloudVariablePath === void 0 ? void 0 : CloudVariablePath.id : undefined, value: typeof CloudVariablePath === "object" && "value" in CloudVariablePath ? CloudVariablePath === null || CloudVariablePath === void 0 ? void 0 : CloudVariablePath.value : CloudVariablePath, isRaw: typeof CloudVariablePath === "object" && "isRaw" in CloudVariablePath && CloudVariablePath.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "VersionString", id: typeof VersionString === "object" && "id" in VersionString ? VersionString === null || VersionString === void 0 ? void 0 : VersionString.id : undefined, value: typeof VersionString === "object" && "value" in VersionString ? VersionString === null || VersionString === void 0 ? void 0 : VersionString.value : VersionString, isRaw: typeof VersionString === "object" && "isRaw" in VersionString && VersionString.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "WaitForAllAssetsToLoad", id: typeof WaitForAllAssetsToLoad === "object" && "id" in WaitForAllAssetsToLoad ? WaitForAllAssetsToLoad === null || WaitForAllAssetsToLoad === void 0 ? void 0 : WaitForAllAssetsToLoad.id : undefined, value: typeof WaitForAllAssetsToLoad === "object" && "value" in WaitForAllAssetsToLoad ? WaitForAllAssetsToLoad === null || WaitForAllAssetsToLoad === void 0 ? void 0 : WaitForAllAssetsToLoad.value : WaitForAllAssetsToLoad, isRaw: typeof WaitForAllAssetsToLoad === "object" && "isRaw" in WaitForAllAssetsToLoad && WaitForAllAssetsToLoad.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "DelaySeconds", id: typeof DelaySeconds === "object" && "id" in DelaySeconds ? DelaySeconds === null || DelaySeconds === void 0 ? void 0 : DelaySeconds.id : undefined, value: typeof DelaySeconds === "object" && "value" in DelaySeconds ? DelaySeconds === null || DelaySeconds === void 0 ? void 0 : DelaySeconds.value : DelaySeconds, isRaw: typeof DelaySeconds === "object" && "isRaw" in DelaySeconds && DelaySeconds.isRaw ? true : undefined })] }))); } exports.OneTimeVideoPlayerTrigger = OneTimeVideoPlayerTrigger; ;