UNPKG

neos-script

Version:

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

23 lines (22 loc) 6.91 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.TriangleDiagnosticMesh = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function TriangleDiagnosticMesh(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, OverrideBoundingBox = props.OverrideBoundingBox, OverridenBoundingBox = props.OverridenBoundingBox, TriangleIndex = props.TriangleIndex, Vertex0Color = props.Vertex0Color, Vertex1Color = props.Vertex1Color, Vertex2Color = props.Vertex2Color, Displace = props.Displace, Mesh = props.Mesh; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.TriangleDiagnosticMesh", 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.Boolean]", name: "HighPriorityIntegration", id: typeof HighPriorityIntegration === "object" && "id" in HighPriorityIntegration ? HighPriorityIntegration === null || HighPriorityIntegration === void 0 ? void 0 : HighPriorityIntegration.id : undefined, value: typeof HighPriorityIntegration === "object" && "value" in HighPriorityIntegration ? HighPriorityIntegration === null || HighPriorityIntegration === void 0 ? void 0 : HighPriorityIntegration.value : HighPriorityIntegration, isRaw: typeof HighPriorityIntegration === "object" && "isRaw" in HighPriorityIntegration && HighPriorityIntegration.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "OverrideBoundingBox", id: typeof OverrideBoundingBox === "object" && "id" in OverrideBoundingBox ? OverrideBoundingBox === null || OverrideBoundingBox === void 0 ? void 0 : OverrideBoundingBox.id : undefined, value: typeof OverrideBoundingBox === "object" && "value" in OverrideBoundingBox ? OverrideBoundingBox === null || OverrideBoundingBox === void 0 ? void 0 : OverrideBoundingBox.value : OverrideBoundingBox, isRaw: typeof OverrideBoundingBox === "object" && "isRaw" in OverrideBoundingBox && OverrideBoundingBox.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.BoundingBox]", name: "OverridenBoundingBox", id: typeof OverridenBoundingBox === "object" && "id" in OverridenBoundingBox ? OverridenBoundingBox === null || OverridenBoundingBox === void 0 ? void 0 : OverridenBoundingBox.id : undefined, value: typeof OverridenBoundingBox === "object" && "value" in OverridenBoundingBox ? OverridenBoundingBox === null || OverridenBoundingBox === void 0 ? void 0 : OverridenBoundingBox.value : OverridenBoundingBox, isRaw: typeof OverridenBoundingBox === "object" && "isRaw" in OverridenBoundingBox && OverridenBoundingBox.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "TriangleIndex", id: typeof TriangleIndex === "object" && "id" in TriangleIndex ? TriangleIndex === null || TriangleIndex === void 0 ? void 0 : TriangleIndex.id : undefined, value: typeof TriangleIndex === "object" && "value" in TriangleIndex ? TriangleIndex === null || TriangleIndex === void 0 ? void 0 : TriangleIndex.value : TriangleIndex, isRaw: typeof TriangleIndex === "object" && "isRaw" in TriangleIndex && TriangleIndex.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "Vertex0Color", id: typeof Vertex0Color === "object" && "id" in Vertex0Color ? Vertex0Color === null || Vertex0Color === void 0 ? void 0 : Vertex0Color.id : undefined, value: typeof Vertex0Color === "object" && "value" in Vertex0Color ? Vertex0Color === null || Vertex0Color === void 0 ? void 0 : Vertex0Color.value : Vertex0Color, isRaw: typeof Vertex0Color === "object" && "isRaw" in Vertex0Color && Vertex0Color.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "Vertex1Color", id: typeof Vertex1Color === "object" && "id" in Vertex1Color ? Vertex1Color === null || Vertex1Color === void 0 ? void 0 : Vertex1Color.id : undefined, value: typeof Vertex1Color === "object" && "value" in Vertex1Color ? Vertex1Color === null || Vertex1Color === void 0 ? void 0 : Vertex1Color.value : Vertex1Color, isRaw: typeof Vertex1Color === "object" && "isRaw" in Vertex1Color && Vertex1Color.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "Vertex2Color", id: typeof Vertex2Color === "object" && "id" in Vertex2Color ? Vertex2Color === null || Vertex2Color === void 0 ? void 0 : Vertex2Color.id : undefined, value: typeof Vertex2Color === "object" && "value" in Vertex2Color ? Vertex2Color === null || Vertex2Color === void 0 ? void 0 : Vertex2Color.value : Vertex2Color, isRaw: typeof Vertex2Color === "object" && "isRaw" in Vertex2Color && Vertex2Color.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Displace", id: typeof Displace === "object" && "id" in Displace ? Displace === null || Displace === void 0 ? void 0 : Displace.id : undefined, value: typeof Displace === "object" && "value" in Displace ? Displace === null || Displace === void 0 ? void 0 : Displace.value : Displace, isRaw: typeof Displace === "object" && "isRaw" in Displace && Displace.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Mesh]", name: "Mesh", id: typeof Mesh === "object" && "id" in Mesh ? Mesh === null || Mesh === void 0 ? void 0 : Mesh.id : undefined, value: typeof Mesh === "object" && "value" in Mesh ? Mesh === null || Mesh === void 0 ? void 0 : Mesh.value : Mesh, isRaw: typeof Mesh === "object" && "isRaw" in Mesh && Mesh.isRaw ? true : undefined })] }))); } exports.TriangleDiagnosticMesh = TriangleDiagnosticMesh; ;