UNPKG

neos-script

Version:

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

23 lines (22 loc) 6.72 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.BakeMeshes = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function BakeMeshes(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, _activeVisual = props._activeVisual, Root = props.Root, SkinnedMeshMode = props.SkinnedMeshMode, IncludeInactive = props.IncludeInactive, Undoable = props.Undoable, DestroyOriginal = props.DestroyOriginal, GrabbableHandling = props.GrabbableHandling, ColliderHandling = props.ColliderHandling, OnBaked = props.OnBaked; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.LogiX.Assets.BakeMeshes", 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.CleanupRef`1[FrooxEngine.Slot]", name: "_activeVisual", id: typeof _activeVisual === "object" && "id" in _activeVisual ? _activeVisual === null || _activeVisual === void 0 ? void 0 : _activeVisual.id : undefined, value: typeof _activeVisual === "object" && "value" in _activeVisual ? _activeVisual === null || _activeVisual === void 0 ? void 0 : _activeVisual.value : _activeVisual, isRaw: typeof _activeVisual === "object" && "isRaw" in _activeVisual && _activeVisual.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`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.LogiX.Input`1[System.Boolean]", name: "SkinnedMeshMode", id: typeof SkinnedMeshMode === "object" && "id" in SkinnedMeshMode ? SkinnedMeshMode === null || SkinnedMeshMode === void 0 ? void 0 : SkinnedMeshMode.id : undefined, value: typeof SkinnedMeshMode === "object" && "value" in SkinnedMeshMode ? SkinnedMeshMode === null || SkinnedMeshMode === void 0 ? void 0 : SkinnedMeshMode.value : SkinnedMeshMode, isRaw: typeof SkinnedMeshMode === "object" && "isRaw" in SkinnedMeshMode && SkinnedMeshMode.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "IncludeInactive", id: typeof IncludeInactive === "object" && "id" in IncludeInactive ? IncludeInactive === null || IncludeInactive === void 0 ? void 0 : IncludeInactive.id : undefined, value: typeof IncludeInactive === "object" && "value" in IncludeInactive ? IncludeInactive === null || IncludeInactive === void 0 ? void 0 : IncludeInactive.value : IncludeInactive, isRaw: typeof IncludeInactive === "object" && "isRaw" in IncludeInactive && IncludeInactive.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Undoable", id: typeof Undoable === "object" && "id" in Undoable ? Undoable === null || Undoable === void 0 ? void 0 : Undoable.id : undefined, value: typeof Undoable === "object" && "value" in Undoable ? Undoable === null || Undoable === void 0 ? void 0 : Undoable.value : Undoable, isRaw: typeof Undoable === "object" && "isRaw" in Undoable && Undoable.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "DestroyOriginal", id: typeof DestroyOriginal === "object" && "id" in DestroyOriginal ? DestroyOriginal === null || DestroyOriginal === void 0 ? void 0 : DestroyOriginal.id : undefined, value: typeof DestroyOriginal === "object" && "value" in DestroyOriginal ? DestroyOriginal === null || DestroyOriginal === void 0 ? void 0 : DestroyOriginal.value : DestroyOriginal, isRaw: typeof DestroyOriginal === "object" && "isRaw" in DestroyOriginal && DestroyOriginal.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[FrooxEngine.ComponentHandling]", name: "GrabbableHandling", id: typeof GrabbableHandling === "object" && "id" in GrabbableHandling ? GrabbableHandling === null || GrabbableHandling === void 0 ? void 0 : GrabbableHandling.id : undefined, value: typeof GrabbableHandling === "object" && "value" in GrabbableHandling ? GrabbableHandling === null || GrabbableHandling === void 0 ? void 0 : GrabbableHandling.value : GrabbableHandling, isRaw: typeof GrabbableHandling === "object" && "isRaw" in GrabbableHandling && GrabbableHandling.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[FrooxEngine.ComponentHandling]", name: "ColliderHandling", id: typeof ColliderHandling === "object" && "id" in ColliderHandling ? ColliderHandling === null || ColliderHandling === void 0 ? void 0 : ColliderHandling.id : undefined, value: typeof ColliderHandling === "object" && "value" in ColliderHandling ? ColliderHandling === null || ColliderHandling === void 0 ? void 0 : ColliderHandling.value : ColliderHandling, isRaw: typeof ColliderHandling === "object" && "isRaw" in ColliderHandling && ColliderHandling.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Impulse", name: "OnBaked", id: typeof OnBaked === "object" && "id" in OnBaked ? OnBaked === null || OnBaked === void 0 ? void 0 : OnBaked.id : undefined, value: typeof OnBaked === "object" && "value" in OnBaked ? OnBaked === null || OnBaked === void 0 ? void 0 : OnBaked.value : OnBaked, isRaw: typeof OnBaked === "object" && "isRaw" in OnBaked && OnBaked.isRaw ? true : undefined })] }))); } exports.BakeMeshes = BakeMeshes; ;