UNPKG

neos-script

Version:

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

23 lines (22 loc) 10.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.VHACD_Dialog = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function VHACD_Dialog(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, TargetCollider = props.TargetCollider, MergeDoubles = props.MergeDoubles, Resolution = props.Resolution, Depth = props.Depth, Concavity = props.Concavity, PlaneDownsampling = props.PlaneDownsampling, ConvexHullDownsampling = props.ConvexHullDownsampling, Alpha = props.Alpha, Beta = props.Beta, Gamma = props.Gamma, Delta = props.Delta, PCA = props.PCA, Mode = props.Mode, MaxVerticesPerHull = props.MaxVerticesPerHull, MinVolumePerHull = props.MinVolumePerHull, ConvexHullApproximation = props.ConvexHullApproximation; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.VHACD_Dialog", 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.MeshCollider]", name: "TargetCollider", id: typeof TargetCollider === "object" && "id" in TargetCollider ? TargetCollider === null || TargetCollider === void 0 ? void 0 : TargetCollider.id : undefined, value: typeof TargetCollider === "object" && "value" in TargetCollider ? TargetCollider === null || TargetCollider === void 0 ? void 0 : TargetCollider.value : TargetCollider, isRaw: typeof TargetCollider === "object" && "isRaw" in TargetCollider && TargetCollider.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Checkbox]", name: "MergeDoubles", id: typeof MergeDoubles === "object" && "id" in MergeDoubles ? MergeDoubles === null || MergeDoubles === void 0 ? void 0 : MergeDoubles.id : undefined, value: typeof MergeDoubles === "object" && "value" in MergeDoubles ? MergeDoubles === null || MergeDoubles === void 0 ? void 0 : MergeDoubles.value : MergeDoubles, isRaw: typeof MergeDoubles === "object" && "isRaw" in MergeDoubles && MergeDoubles.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.IntTextEditorParser]", name: "Resolution", id: typeof Resolution === "object" && "id" in Resolution ? Resolution === null || Resolution === void 0 ? void 0 : Resolution.id : undefined, value: typeof Resolution === "object" && "value" in Resolution ? Resolution === null || Resolution === void 0 ? void 0 : Resolution.value : Resolution, isRaw: typeof Resolution === "object" && "isRaw" in Resolution && Resolution.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.IntTextEditorParser]", name: "Depth", id: typeof Depth === "object" && "id" in Depth ? Depth === null || Depth === void 0 ? void 0 : Depth.id : undefined, value: typeof Depth === "object" && "value" in Depth ? Depth === null || Depth === void 0 ? void 0 : Depth.value : Depth, isRaw: typeof Depth === "object" && "isRaw" in Depth && Depth.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.FloatTextEditorParser]", name: "Concavity", id: typeof Concavity === "object" && "id" in Concavity ? Concavity === null || Concavity === void 0 ? void 0 : Concavity.id : undefined, value: typeof Concavity === "object" && "value" in Concavity ? Concavity === null || Concavity === void 0 ? void 0 : Concavity.value : Concavity, isRaw: typeof Concavity === "object" && "isRaw" in Concavity && Concavity.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.IntTextEditorParser]", name: "PlaneDownsampling", id: typeof PlaneDownsampling === "object" && "id" in PlaneDownsampling ? PlaneDownsampling === null || PlaneDownsampling === void 0 ? void 0 : PlaneDownsampling.id : undefined, value: typeof PlaneDownsampling === "object" && "value" in PlaneDownsampling ? PlaneDownsampling === null || PlaneDownsampling === void 0 ? void 0 : PlaneDownsampling.value : PlaneDownsampling, isRaw: typeof PlaneDownsampling === "object" && "isRaw" in PlaneDownsampling && PlaneDownsampling.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.IntTextEditorParser]", name: "ConvexHullDownsampling", id: typeof ConvexHullDownsampling === "object" && "id" in ConvexHullDownsampling ? ConvexHullDownsampling === null || ConvexHullDownsampling === void 0 ? void 0 : ConvexHullDownsampling.id : undefined, value: typeof ConvexHullDownsampling === "object" && "value" in ConvexHullDownsampling ? ConvexHullDownsampling === null || ConvexHullDownsampling === void 0 ? void 0 : ConvexHullDownsampling.value : ConvexHullDownsampling, isRaw: typeof ConvexHullDownsampling === "object" && "isRaw" in ConvexHullDownsampling && ConvexHullDownsampling.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.FloatTextEditorParser]", name: "Alpha", id: typeof Alpha === "object" && "id" in Alpha ? Alpha === null || Alpha === void 0 ? void 0 : Alpha.id : undefined, value: typeof Alpha === "object" && "value" in Alpha ? Alpha === null || Alpha === void 0 ? void 0 : Alpha.value : Alpha, isRaw: typeof Alpha === "object" && "isRaw" in Alpha && Alpha.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.FloatTextEditorParser]", name: "Beta", id: typeof Beta === "object" && "id" in Beta ? Beta === null || Beta === void 0 ? void 0 : Beta.id : undefined, value: typeof Beta === "object" && "value" in Beta ? Beta === null || Beta === void 0 ? void 0 : Beta.value : Beta, isRaw: typeof Beta === "object" && "isRaw" in Beta && Beta.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.FloatTextEditorParser]", name: "Gamma", id: typeof Gamma === "object" && "id" in Gamma ? Gamma === null || Gamma === void 0 ? void 0 : Gamma.id : undefined, value: typeof Gamma === "object" && "value" in Gamma ? Gamma === null || Gamma === void 0 ? void 0 : Gamma.value : Gamma, isRaw: typeof Gamma === "object" && "isRaw" in Gamma && Gamma.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.FloatTextEditorParser]", name: "Delta", id: typeof Delta === "object" && "id" in Delta ? Delta === null || Delta === void 0 ? void 0 : Delta.id : undefined, value: typeof Delta === "object" && "value" in Delta ? Delta === null || Delta === void 0 ? void 0 : Delta.value : Delta, isRaw: typeof Delta === "object" && "isRaw" in Delta && Delta.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Checkbox]", name: "PCA", id: typeof PCA === "object" && "id" in PCA ? PCA === null || PCA === void 0 ? void 0 : PCA.id : undefined, value: typeof PCA === "object" && "value" in PCA ? PCA === null || PCA === void 0 ? void 0 : PCA.value : PCA, isRaw: typeof PCA === "object" && "isRaw" in PCA && PCA.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[CodeX.VHACDInterface+DecompositionMode]", name: "Mode", id: typeof Mode === "object" && "id" in Mode ? Mode === null || Mode === void 0 ? void 0 : Mode.id : undefined, value: typeof Mode === "object" && "value" in Mode ? Mode === null || Mode === void 0 ? void 0 : Mode.value : Mode, isRaw: typeof Mode === "object" && "isRaw" in Mode && Mode.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.IntTextEditorParser]", name: "MaxVerticesPerHull", id: typeof MaxVerticesPerHull === "object" && "id" in MaxVerticesPerHull ? MaxVerticesPerHull === null || MaxVerticesPerHull === void 0 ? void 0 : MaxVerticesPerHull.id : undefined, value: typeof MaxVerticesPerHull === "object" && "value" in MaxVerticesPerHull ? MaxVerticesPerHull === null || MaxVerticesPerHull === void 0 ? void 0 : MaxVerticesPerHull.value : MaxVerticesPerHull, isRaw: typeof MaxVerticesPerHull === "object" && "isRaw" in MaxVerticesPerHull && MaxVerticesPerHull.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.FloatTextEditorParser]", name: "MinVolumePerHull", id: typeof MinVolumePerHull === "object" && "id" in MinVolumePerHull ? MinVolumePerHull === null || MinVolumePerHull === void 0 ? void 0 : MinVolumePerHull.id : undefined, value: typeof MinVolumePerHull === "object" && "value" in MinVolumePerHull ? MinVolumePerHull === null || MinVolumePerHull === void 0 ? void 0 : MinVolumePerHull.value : MinVolumePerHull, isRaw: typeof MinVolumePerHull === "object" && "isRaw" in MinVolumePerHull && MinVolumePerHull.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Checkbox]", name: "ConvexHullApproximation", id: typeof ConvexHullApproximation === "object" && "id" in ConvexHullApproximation ? ConvexHullApproximation === null || ConvexHullApproximation === void 0 ? void 0 : ConvexHullApproximation.id : undefined, value: typeof ConvexHullApproximation === "object" && "value" in ConvexHullApproximation ? ConvexHullApproximation === null || ConvexHullApproximation === void 0 ? void 0 : ConvexHullApproximation.value : ConvexHullApproximation, isRaw: typeof ConvexHullApproximation === "object" && "isRaw" in ConvexHullApproximation && ConvexHullApproximation.isRaw ? true : undefined })] }))); } exports.VHACD_Dialog = VHACD_Dialog; ;