UNPKG

neos-script

Version:

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

23 lines (22 loc) 7 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.WorldLightSourcesWizard = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function WorldLightSourcesWizard(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Root = props.Root, ProcessPointLights = props.ProcessPointLights, ProcessSpotLights = props.ProcessSpotLights, ProcessDirectionalLights = props.ProcessDirectionalLights, ProcessDisabled = props.ProcessDisabled, TargetShadowType = props.TargetShadowType, _tag = props._tag, _intensityField = props._intensityField, _rangeField = props._rangeField; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.WorldLightSourcesWizard", 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.Slot]", name: "Root", id: typeof Root === "object" && "id" in Root ? Root === null || Root === void 0 ? void 0 : Root.id : undefined, value: typeof Root === "object" && "value" in Root ? Root === null || Root === void 0 ? void 0 : Root.value : Root, isRaw: typeof Root === "object" && "isRaw" in Root && Root.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "ProcessPointLights", id: typeof ProcessPointLights === "object" && "id" in ProcessPointLights ? ProcessPointLights === null || ProcessPointLights === void 0 ? void 0 : ProcessPointLights.id : undefined, value: typeof ProcessPointLights === "object" && "value" in ProcessPointLights ? ProcessPointLights === null || ProcessPointLights === void 0 ? void 0 : ProcessPointLights.value : ProcessPointLights, isRaw: typeof ProcessPointLights === "object" && "isRaw" in ProcessPointLights && ProcessPointLights.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "ProcessSpotLights", id: typeof ProcessSpotLights === "object" && "id" in ProcessSpotLights ? ProcessSpotLights === null || ProcessSpotLights === void 0 ? void 0 : ProcessSpotLights.id : undefined, value: typeof ProcessSpotLights === "object" && "value" in ProcessSpotLights ? ProcessSpotLights === null || ProcessSpotLights === void 0 ? void 0 : ProcessSpotLights.value : ProcessSpotLights, isRaw: typeof ProcessSpotLights === "object" && "isRaw" in ProcessSpotLights && ProcessSpotLights.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "ProcessDirectionalLights", id: typeof ProcessDirectionalLights === "object" && "id" in ProcessDirectionalLights ? ProcessDirectionalLights === null || ProcessDirectionalLights === void 0 ? void 0 : ProcessDirectionalLights.id : undefined, value: typeof ProcessDirectionalLights === "object" && "value" in ProcessDirectionalLights ? ProcessDirectionalLights === null || ProcessDirectionalLights === void 0 ? void 0 : ProcessDirectionalLights.value : ProcessDirectionalLights, isRaw: typeof ProcessDirectionalLights === "object" && "isRaw" in ProcessDirectionalLights && ProcessDirectionalLights.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "ProcessDisabled", id: typeof ProcessDisabled === "object" && "id" in ProcessDisabled ? ProcessDisabled === null || ProcessDisabled === void 0 ? void 0 : ProcessDisabled.id : undefined, value: typeof ProcessDisabled === "object" && "value" in ProcessDisabled ? ProcessDisabled === null || ProcessDisabled === void 0 ? void 0 : ProcessDisabled.value : ProcessDisabled, isRaw: typeof ProcessDisabled === "object" && "isRaw" in ProcessDisabled && ProcessDisabled.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.ShadowType]", name: "TargetShadowType", id: typeof TargetShadowType === "object" && "id" in TargetShadowType ? TargetShadowType === null || TargetShadowType === void 0 ? void 0 : TargetShadowType.id : undefined, value: typeof TargetShadowType === "object" && "value" in TargetShadowType ? TargetShadowType === null || TargetShadowType === void 0 ? void 0 : TargetShadowType.value : TargetShadowType, isRaw: typeof TargetShadowType === "object" && "isRaw" in TargetShadowType && TargetShadowType.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.TextField]", name: "_tag", id: typeof _tag === "object" && "id" in _tag ? _tag === null || _tag === void 0 ? void 0 : _tag.id : undefined, value: typeof _tag === "object" && "value" in _tag ? _tag === null || _tag === void 0 ? void 0 : _tag.value : _tag, isRaw: typeof _tag === "object" && "isRaw" in _tag && _tag.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.FloatTextEditorParser]", name: "_intensityField", id: typeof _intensityField === "object" && "id" in _intensityField ? _intensityField === null || _intensityField === void 0 ? void 0 : _intensityField.id : undefined, value: typeof _intensityField === "object" && "value" in _intensityField ? _intensityField === null || _intensityField === void 0 ? void 0 : _intensityField.value : _intensityField, isRaw: typeof _intensityField === "object" && "isRaw" in _intensityField && _intensityField.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.FloatTextEditorParser]", name: "_rangeField", id: typeof _rangeField === "object" && "id" in _rangeField ? _rangeField === null || _rangeField === void 0 ? void 0 : _rangeField.id : undefined, value: typeof _rangeField === "object" && "value" in _rangeField ? _rangeField === null || _rangeField === void 0 ? void 0 : _rangeField.value : _rangeField, isRaw: typeof _rangeField === "object" && "isRaw" in _rangeField && _rangeField.isRaw ? true : undefined })] }))); } exports.WorldLightSourcesWizard = WorldLightSourcesWizard; ;