UNPKG

neos-script

Version:

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

23 lines (22 loc) 9.03 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.MeshAssetMetadata = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function MeshAssetMetadata(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Mesh = props.Mesh, VertexCount = props.VertexCount, TriangleCount = props.TriangleCount, PointCount = props.PointCount, SubmeshCount = props.SubmeshCount, BoneCount = props.BoneCount, BlendshapeCount = props.BlendshapeCount, HasNormals = props.HasNormals, HasTangents = props.HasTangents, HasVertexColors = props.HasVertexColors, HasUV0s = props.HasUV0s, HasUV1s = props.HasUV1s, HasUV2s = props.HasUV2s, HasUV3s = props.HasUV3s; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.MeshAssetMetadata", 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.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 }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "VertexCount", id: typeof VertexCount === "object" && "id" in VertexCount ? VertexCount === null || VertexCount === void 0 ? void 0 : VertexCount.id : undefined, value: typeof VertexCount === "object" && "value" in VertexCount ? VertexCount === null || VertexCount === void 0 ? void 0 : VertexCount.value : VertexCount, isRaw: typeof VertexCount === "object" && "isRaw" in VertexCount && VertexCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "TriangleCount", id: typeof TriangleCount === "object" && "id" in TriangleCount ? TriangleCount === null || TriangleCount === void 0 ? void 0 : TriangleCount.id : undefined, value: typeof TriangleCount === "object" && "value" in TriangleCount ? TriangleCount === null || TriangleCount === void 0 ? void 0 : TriangleCount.value : TriangleCount, isRaw: typeof TriangleCount === "object" && "isRaw" in TriangleCount && TriangleCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "PointCount", id: typeof PointCount === "object" && "id" in PointCount ? PointCount === null || PointCount === void 0 ? void 0 : PointCount.id : undefined, value: typeof PointCount === "object" && "value" in PointCount ? PointCount === null || PointCount === void 0 ? void 0 : PointCount.value : PointCount, isRaw: typeof PointCount === "object" && "isRaw" in PointCount && PointCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "SubmeshCount", id: typeof SubmeshCount === "object" && "id" in SubmeshCount ? SubmeshCount === null || SubmeshCount === void 0 ? void 0 : SubmeshCount.id : undefined, value: typeof SubmeshCount === "object" && "value" in SubmeshCount ? SubmeshCount === null || SubmeshCount === void 0 ? void 0 : SubmeshCount.value : SubmeshCount, isRaw: typeof SubmeshCount === "object" && "isRaw" in SubmeshCount && SubmeshCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "BoneCount", id: typeof BoneCount === "object" && "id" in BoneCount ? BoneCount === null || BoneCount === void 0 ? void 0 : BoneCount.id : undefined, value: typeof BoneCount === "object" && "value" in BoneCount ? BoneCount === null || BoneCount === void 0 ? void 0 : BoneCount.value : BoneCount, isRaw: typeof BoneCount === "object" && "isRaw" in BoneCount && BoneCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "BlendshapeCount", id: typeof BlendshapeCount === "object" && "id" in BlendshapeCount ? BlendshapeCount === null || BlendshapeCount === void 0 ? void 0 : BlendshapeCount.id : undefined, value: typeof BlendshapeCount === "object" && "value" in BlendshapeCount ? BlendshapeCount === null || BlendshapeCount === void 0 ? void 0 : BlendshapeCount.value : BlendshapeCount, isRaw: typeof BlendshapeCount === "object" && "isRaw" in BlendshapeCount && BlendshapeCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "HasNormals", id: typeof HasNormals === "object" && "id" in HasNormals ? HasNormals === null || HasNormals === void 0 ? void 0 : HasNormals.id : undefined, value: typeof HasNormals === "object" && "value" in HasNormals ? HasNormals === null || HasNormals === void 0 ? void 0 : HasNormals.value : HasNormals, isRaw: typeof HasNormals === "object" && "isRaw" in HasNormals && HasNormals.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "HasTangents", id: typeof HasTangents === "object" && "id" in HasTangents ? HasTangents === null || HasTangents === void 0 ? void 0 : HasTangents.id : undefined, value: typeof HasTangents === "object" && "value" in HasTangents ? HasTangents === null || HasTangents === void 0 ? void 0 : HasTangents.value : HasTangents, isRaw: typeof HasTangents === "object" && "isRaw" in HasTangents && HasTangents.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "HasVertexColors", id: typeof HasVertexColors === "object" && "id" in HasVertexColors ? HasVertexColors === null || HasVertexColors === void 0 ? void 0 : HasVertexColors.id : undefined, value: typeof HasVertexColors === "object" && "value" in HasVertexColors ? HasVertexColors === null || HasVertexColors === void 0 ? void 0 : HasVertexColors.value : HasVertexColors, isRaw: typeof HasVertexColors === "object" && "isRaw" in HasVertexColors && HasVertexColors.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "HasUV0s", id: typeof HasUV0s === "object" && "id" in HasUV0s ? HasUV0s === null || HasUV0s === void 0 ? void 0 : HasUV0s.id : undefined, value: typeof HasUV0s === "object" && "value" in HasUV0s ? HasUV0s === null || HasUV0s === void 0 ? void 0 : HasUV0s.value : HasUV0s, isRaw: typeof HasUV0s === "object" && "isRaw" in HasUV0s && HasUV0s.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "HasUV1s", id: typeof HasUV1s === "object" && "id" in HasUV1s ? HasUV1s === null || HasUV1s === void 0 ? void 0 : HasUV1s.id : undefined, value: typeof HasUV1s === "object" && "value" in HasUV1s ? HasUV1s === null || HasUV1s === void 0 ? void 0 : HasUV1s.value : HasUV1s, isRaw: typeof HasUV1s === "object" && "isRaw" in HasUV1s && HasUV1s.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "HasUV2s", id: typeof HasUV2s === "object" && "id" in HasUV2s ? HasUV2s === null || HasUV2s === void 0 ? void 0 : HasUV2s.id : undefined, value: typeof HasUV2s === "object" && "value" in HasUV2s ? HasUV2s === null || HasUV2s === void 0 ? void 0 : HasUV2s.value : HasUV2s, isRaw: typeof HasUV2s === "object" && "isRaw" in HasUV2s && HasUV2s.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "HasUV3s", id: typeof HasUV3s === "object" && "id" in HasUV3s ? HasUV3s === null || HasUV3s === void 0 ? void 0 : HasUV3s.id : undefined, value: typeof HasUV3s === "object" && "value" in HasUV3s ? HasUV3s === null || HasUV3s === void 0 ? void 0 : HasUV3s.value : HasUV3s, isRaw: typeof HasUV3s === "object" && "isRaw" in HasUV3s && HasUV3s.isRaw ? true : undefined })] }))); } exports.MeshAssetMetadata = MeshAssetMetadata; ;