UNPKG

neos-script

Version:

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

23 lines (22 loc) 5 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.MaterialAssetMetadata = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function MaterialAssetMetadata(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Material = props.Material, VariantIndex = props.VariantIndex, RawVariantIndex = props.RawVariantIndex, VariantID = props.VariantID, RawVariantID = props.RawVariantID, WaitingForApply = props.WaitingForApply; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.MaterialAssetMetadata", 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.Material]", name: "Material", id: typeof Material === "object" && "id" in Material ? Material === null || Material === void 0 ? void 0 : Material.id : undefined, value: typeof Material === "object" && "value" in Material ? Material === null || Material === void 0 ? void 0 : Material.value : Material, isRaw: typeof Material === "object" && "isRaw" in Material && Material.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Nullable`1[System.UInt32]]", name: "VariantIndex", id: typeof VariantIndex === "object" && "id" in VariantIndex ? VariantIndex === null || VariantIndex === void 0 ? void 0 : VariantIndex.id : undefined, value: typeof VariantIndex === "object" && "value" in VariantIndex ? VariantIndex === null || VariantIndex === void 0 ? void 0 : VariantIndex.value : VariantIndex, isRaw: typeof VariantIndex === "object" && "isRaw" in VariantIndex && VariantIndex.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Nullable`1[System.UInt32]]", name: "RawVariantIndex", id: typeof RawVariantIndex === "object" && "id" in RawVariantIndex ? RawVariantIndex === null || RawVariantIndex === void 0 ? void 0 : RawVariantIndex.id : undefined, value: typeof RawVariantIndex === "object" && "value" in RawVariantIndex ? RawVariantIndex === null || RawVariantIndex === void 0 ? void 0 : RawVariantIndex.value : RawVariantIndex, isRaw: typeof RawVariantIndex === "object" && "isRaw" in RawVariantIndex && RawVariantIndex.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.String]", name: "VariantID", id: typeof VariantID === "object" && "id" in VariantID ? VariantID === null || VariantID === void 0 ? void 0 : VariantID.id : undefined, value: typeof VariantID === "object" && "value" in VariantID ? VariantID === null || VariantID === void 0 ? void 0 : VariantID.value : VariantID, isRaw: typeof VariantID === "object" && "isRaw" in VariantID && VariantID.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.String]", name: "RawVariantID", id: typeof RawVariantID === "object" && "id" in RawVariantID ? RawVariantID === null || RawVariantID === void 0 ? void 0 : RawVariantID.id : undefined, value: typeof RawVariantID === "object" && "value" in RawVariantID ? RawVariantID === null || RawVariantID === void 0 ? void 0 : RawVariantID.value : RawVariantID, isRaw: typeof RawVariantID === "object" && "isRaw" in RawVariantID && RawVariantID.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "WaitingForApply", id: typeof WaitingForApply === "object" && "id" in WaitingForApply ? WaitingForApply === null || WaitingForApply === void 0 ? void 0 : WaitingForApply.id : undefined, value: typeof WaitingForApply === "object" && "value" in WaitingForApply ? WaitingForApply === null || WaitingForApply === void 0 ? void 0 : WaitingForApply.value : WaitingForApply, isRaw: typeof WaitingForApply === "object" && "isRaw" in WaitingForApply && WaitingForApply.isRaw ? true : undefined })] }))); } exports.MaterialAssetMetadata = MaterialAssetMetadata; ;