UNPKG

neos-script

Version:

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

23 lines (22 loc) 20.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.PBSLerpMetallic = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../../core"); function PBSLerpMetallic(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, _shader = props._shader, Lerp = props.Lerp, LerpTexture = props.LerpTexture, LerpTextureScale = props.LerpTextureScale, LerpTextureOffset = props.LerpTextureOffset, Texture0Scale = props.Texture0Scale, Texture0Offset = props.Texture0Offset, Texture1Scale = props.Texture1Scale, Texture1Offset = props.Texture1Offset, AlbedoColor0 = props.AlbedoColor0, AlbedoColor1 = props.AlbedoColor1, AlbedoTexture0 = props.AlbedoTexture0, AlbedoTexture1 = props.AlbedoTexture1, EmissiveColor0 = props.EmissiveColor0, EmissiveColor1 = props.EmissiveColor1, EmissiveMap0 = props.EmissiveMap0, EmissiveMap1 = props.EmissiveMap1, NormalMap0 = props.NormalMap0, NormalMap1 = props.NormalMap1, NormalScale0 = props.NormalScale0, NormalScale1 = props.NormalScale1, OcclusionMap0 = props.OcclusionMap0, OcclusionMap1 = props.OcclusionMap1, OffsetFactor = props.OffsetFactor, OffsetUnits = props.OffsetUnits, RenderQueue = props.RenderQueue, Metallic0 = props.Metallic0, Metallic1 = props.Metallic1, Smoothness0 = props.Smoothness0, Smoothness1 = props.Smoothness1, MetallicMap0 = props.MetallicMap0, MetallicMap1 = props.MetallicMap1; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.PBSLerpMetallic", 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.AssetRef`1[FrooxEngine.Shader]", name: "_shader-ID", id: typeof _shader === "object" && "id" in _shader ? _shader === null || _shader === void 0 ? void 0 : _shader.id : undefined, value: typeof _shader === "object" && "value" in _shader ? _shader === null || _shader === void 0 ? void 0 : _shader.value : _shader, readOnly: true, isRaw: typeof _shader === "object" && "isRaw" in _shader && _shader.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Lerp", id: typeof Lerp === "object" && "id" in Lerp ? Lerp === null || Lerp === void 0 ? void 0 : Lerp.id : undefined, value: typeof Lerp === "object" && "value" in Lerp ? Lerp === null || Lerp === void 0 ? void 0 : Lerp.value : Lerp, isRaw: typeof Lerp === "object" && "isRaw" in Lerp && Lerp.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "LerpTexture", id: typeof LerpTexture === "object" && "id" in LerpTexture ? LerpTexture === null || LerpTexture === void 0 ? void 0 : LerpTexture.id : undefined, value: typeof LerpTexture === "object" && "value" in LerpTexture ? LerpTexture === null || LerpTexture === void 0 ? void 0 : LerpTexture.value : LerpTexture, isRaw: typeof LerpTexture === "object" && "isRaw" in LerpTexture && LerpTexture.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "LerpTextureScale", id: typeof LerpTextureScale === "object" && "id" in LerpTextureScale ? LerpTextureScale === null || LerpTextureScale === void 0 ? void 0 : LerpTextureScale.id : undefined, value: typeof LerpTextureScale === "object" && "value" in LerpTextureScale ? LerpTextureScale === null || LerpTextureScale === void 0 ? void 0 : LerpTextureScale.value : LerpTextureScale, isRaw: typeof LerpTextureScale === "object" && "isRaw" in LerpTextureScale && LerpTextureScale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "LerpTextureOffset", id: typeof LerpTextureOffset === "object" && "id" in LerpTextureOffset ? LerpTextureOffset === null || LerpTextureOffset === void 0 ? void 0 : LerpTextureOffset.id : undefined, value: typeof LerpTextureOffset === "object" && "value" in LerpTextureOffset ? LerpTextureOffset === null || LerpTextureOffset === void 0 ? void 0 : LerpTextureOffset.value : LerpTextureOffset, isRaw: typeof LerpTextureOffset === "object" && "isRaw" in LerpTextureOffset && LerpTextureOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "Texture0Scale", id: typeof Texture0Scale === "object" && "id" in Texture0Scale ? Texture0Scale === null || Texture0Scale === void 0 ? void 0 : Texture0Scale.id : undefined, value: typeof Texture0Scale === "object" && "value" in Texture0Scale ? Texture0Scale === null || Texture0Scale === void 0 ? void 0 : Texture0Scale.value : Texture0Scale, isRaw: typeof Texture0Scale === "object" && "isRaw" in Texture0Scale && Texture0Scale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "Texture0Offset", id: typeof Texture0Offset === "object" && "id" in Texture0Offset ? Texture0Offset === null || Texture0Offset === void 0 ? void 0 : Texture0Offset.id : undefined, value: typeof Texture0Offset === "object" && "value" in Texture0Offset ? Texture0Offset === null || Texture0Offset === void 0 ? void 0 : Texture0Offset.value : Texture0Offset, isRaw: typeof Texture0Offset === "object" && "isRaw" in Texture0Offset && Texture0Offset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "Texture1Scale", id: typeof Texture1Scale === "object" && "id" in Texture1Scale ? Texture1Scale === null || Texture1Scale === void 0 ? void 0 : Texture1Scale.id : undefined, value: typeof Texture1Scale === "object" && "value" in Texture1Scale ? Texture1Scale === null || Texture1Scale === void 0 ? void 0 : Texture1Scale.value : Texture1Scale, isRaw: typeof Texture1Scale === "object" && "isRaw" in Texture1Scale && Texture1Scale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "Texture1Offset", id: typeof Texture1Offset === "object" && "id" in Texture1Offset ? Texture1Offset === null || Texture1Offset === void 0 ? void 0 : Texture1Offset.id : undefined, value: typeof Texture1Offset === "object" && "value" in Texture1Offset ? Texture1Offset === null || Texture1Offset === void 0 ? void 0 : Texture1Offset.value : Texture1Offset, isRaw: typeof Texture1Offset === "object" && "isRaw" in Texture1Offset && Texture1Offset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "AlbedoColor0", id: typeof AlbedoColor0 === "object" && "id" in AlbedoColor0 ? AlbedoColor0 === null || AlbedoColor0 === void 0 ? void 0 : AlbedoColor0.id : undefined, value: typeof AlbedoColor0 === "object" && "value" in AlbedoColor0 ? AlbedoColor0 === null || AlbedoColor0 === void 0 ? void 0 : AlbedoColor0.value : AlbedoColor0, isRaw: typeof AlbedoColor0 === "object" && "isRaw" in AlbedoColor0 && AlbedoColor0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "AlbedoColor1", id: typeof AlbedoColor1 === "object" && "id" in AlbedoColor1 ? AlbedoColor1 === null || AlbedoColor1 === void 0 ? void 0 : AlbedoColor1.id : undefined, value: typeof AlbedoColor1 === "object" && "value" in AlbedoColor1 ? AlbedoColor1 === null || AlbedoColor1 === void 0 ? void 0 : AlbedoColor1.value : AlbedoColor1, isRaw: typeof AlbedoColor1 === "object" && "isRaw" in AlbedoColor1 && AlbedoColor1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "AlbedoTexture0", id: typeof AlbedoTexture0 === "object" && "id" in AlbedoTexture0 ? AlbedoTexture0 === null || AlbedoTexture0 === void 0 ? void 0 : AlbedoTexture0.id : undefined, value: typeof AlbedoTexture0 === "object" && "value" in AlbedoTexture0 ? AlbedoTexture0 === null || AlbedoTexture0 === void 0 ? void 0 : AlbedoTexture0.value : AlbedoTexture0, isRaw: typeof AlbedoTexture0 === "object" && "isRaw" in AlbedoTexture0 && AlbedoTexture0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "AlbedoTexture1", id: typeof AlbedoTexture1 === "object" && "id" in AlbedoTexture1 ? AlbedoTexture1 === null || AlbedoTexture1 === void 0 ? void 0 : AlbedoTexture1.id : undefined, value: typeof AlbedoTexture1 === "object" && "value" in AlbedoTexture1 ? AlbedoTexture1 === null || AlbedoTexture1 === void 0 ? void 0 : AlbedoTexture1.value : AlbedoTexture1, isRaw: typeof AlbedoTexture1 === "object" && "isRaw" in AlbedoTexture1 && AlbedoTexture1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "EmissiveColor0", id: typeof EmissiveColor0 === "object" && "id" in EmissiveColor0 ? EmissiveColor0 === null || EmissiveColor0 === void 0 ? void 0 : EmissiveColor0.id : undefined, value: typeof EmissiveColor0 === "object" && "value" in EmissiveColor0 ? EmissiveColor0 === null || EmissiveColor0 === void 0 ? void 0 : EmissiveColor0.value : EmissiveColor0, isRaw: typeof EmissiveColor0 === "object" && "isRaw" in EmissiveColor0 && EmissiveColor0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "EmissiveColor1", id: typeof EmissiveColor1 === "object" && "id" in EmissiveColor1 ? EmissiveColor1 === null || EmissiveColor1 === void 0 ? void 0 : EmissiveColor1.id : undefined, value: typeof EmissiveColor1 === "object" && "value" in EmissiveColor1 ? EmissiveColor1 === null || EmissiveColor1 === void 0 ? void 0 : EmissiveColor1.value : EmissiveColor1, isRaw: typeof EmissiveColor1 === "object" && "isRaw" in EmissiveColor1 && EmissiveColor1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "EmissiveMap0", id: typeof EmissiveMap0 === "object" && "id" in EmissiveMap0 ? EmissiveMap0 === null || EmissiveMap0 === void 0 ? void 0 : EmissiveMap0.id : undefined, value: typeof EmissiveMap0 === "object" && "value" in EmissiveMap0 ? EmissiveMap0 === null || EmissiveMap0 === void 0 ? void 0 : EmissiveMap0.value : EmissiveMap0, isRaw: typeof EmissiveMap0 === "object" && "isRaw" in EmissiveMap0 && EmissiveMap0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "EmissiveMap1", id: typeof EmissiveMap1 === "object" && "id" in EmissiveMap1 ? EmissiveMap1 === null || EmissiveMap1 === void 0 ? void 0 : EmissiveMap1.id : undefined, value: typeof EmissiveMap1 === "object" && "value" in EmissiveMap1 ? EmissiveMap1 === null || EmissiveMap1 === void 0 ? void 0 : EmissiveMap1.value : EmissiveMap1, isRaw: typeof EmissiveMap1 === "object" && "isRaw" in EmissiveMap1 && EmissiveMap1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "NormalMap0", id: typeof NormalMap0 === "object" && "id" in NormalMap0 ? NormalMap0 === null || NormalMap0 === void 0 ? void 0 : NormalMap0.id : undefined, value: typeof NormalMap0 === "object" && "value" in NormalMap0 ? NormalMap0 === null || NormalMap0 === void 0 ? void 0 : NormalMap0.value : NormalMap0, isRaw: typeof NormalMap0 === "object" && "isRaw" in NormalMap0 && NormalMap0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "NormalMap1", id: typeof NormalMap1 === "object" && "id" in NormalMap1 ? NormalMap1 === null || NormalMap1 === void 0 ? void 0 : NormalMap1.id : undefined, value: typeof NormalMap1 === "object" && "value" in NormalMap1 ? NormalMap1 === null || NormalMap1 === void 0 ? void 0 : NormalMap1.value : NormalMap1, isRaw: typeof NormalMap1 === "object" && "isRaw" in NormalMap1 && NormalMap1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "NormalScale0", id: typeof NormalScale0 === "object" && "id" in NormalScale0 ? NormalScale0 === null || NormalScale0 === void 0 ? void 0 : NormalScale0.id : undefined, value: typeof NormalScale0 === "object" && "value" in NormalScale0 ? NormalScale0 === null || NormalScale0 === void 0 ? void 0 : NormalScale0.value : NormalScale0, isRaw: typeof NormalScale0 === "object" && "isRaw" in NormalScale0 && NormalScale0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "NormalScale1", id: typeof NormalScale1 === "object" && "id" in NormalScale1 ? NormalScale1 === null || NormalScale1 === void 0 ? void 0 : NormalScale1.id : undefined, value: typeof NormalScale1 === "object" && "value" in NormalScale1 ? NormalScale1 === null || NormalScale1 === void 0 ? void 0 : NormalScale1.value : NormalScale1, isRaw: typeof NormalScale1 === "object" && "isRaw" in NormalScale1 && NormalScale1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "OcclusionMap0", id: typeof OcclusionMap0 === "object" && "id" in OcclusionMap0 ? OcclusionMap0 === null || OcclusionMap0 === void 0 ? void 0 : OcclusionMap0.id : undefined, value: typeof OcclusionMap0 === "object" && "value" in OcclusionMap0 ? OcclusionMap0 === null || OcclusionMap0 === void 0 ? void 0 : OcclusionMap0.value : OcclusionMap0, isRaw: typeof OcclusionMap0 === "object" && "isRaw" in OcclusionMap0 && OcclusionMap0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "OcclusionMap1", id: typeof OcclusionMap1 === "object" && "id" in OcclusionMap1 ? OcclusionMap1 === null || OcclusionMap1 === void 0 ? void 0 : OcclusionMap1.id : undefined, value: typeof OcclusionMap1 === "object" && "value" in OcclusionMap1 ? OcclusionMap1 === null || OcclusionMap1 === void 0 ? void 0 : OcclusionMap1.value : OcclusionMap1, isRaw: typeof OcclusionMap1 === "object" && "isRaw" in OcclusionMap1 && OcclusionMap1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "OffsetFactor", id: typeof OffsetFactor === "object" && "id" in OffsetFactor ? OffsetFactor === null || OffsetFactor === void 0 ? void 0 : OffsetFactor.id : undefined, value: typeof OffsetFactor === "object" && "value" in OffsetFactor ? OffsetFactor === null || OffsetFactor === void 0 ? void 0 : OffsetFactor.value : OffsetFactor, isRaw: typeof OffsetFactor === "object" && "isRaw" in OffsetFactor && OffsetFactor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "OffsetUnits", id: typeof OffsetUnits === "object" && "id" in OffsetUnits ? OffsetUnits === null || OffsetUnits === void 0 ? void 0 : OffsetUnits.id : undefined, value: typeof OffsetUnits === "object" && "value" in OffsetUnits ? OffsetUnits === null || OffsetUnits === void 0 ? void 0 : OffsetUnits.value : OffsetUnits, isRaw: typeof OffsetUnits === "object" && "isRaw" in OffsetUnits && OffsetUnits.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "RenderQueue", id: typeof RenderQueue === "object" && "id" in RenderQueue ? RenderQueue === null || RenderQueue === void 0 ? void 0 : RenderQueue.id : undefined, value: typeof RenderQueue === "object" && "value" in RenderQueue ? RenderQueue === null || RenderQueue === void 0 ? void 0 : RenderQueue.value : RenderQueue, isRaw: typeof RenderQueue === "object" && "isRaw" in RenderQueue && RenderQueue.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Metallic0", id: typeof Metallic0 === "object" && "id" in Metallic0 ? Metallic0 === null || Metallic0 === void 0 ? void 0 : Metallic0.id : undefined, value: typeof Metallic0 === "object" && "value" in Metallic0 ? Metallic0 === null || Metallic0 === void 0 ? void 0 : Metallic0.value : Metallic0, isRaw: typeof Metallic0 === "object" && "isRaw" in Metallic0 && Metallic0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Metallic1", id: typeof Metallic1 === "object" && "id" in Metallic1 ? Metallic1 === null || Metallic1 === void 0 ? void 0 : Metallic1.id : undefined, value: typeof Metallic1 === "object" && "value" in Metallic1 ? Metallic1 === null || Metallic1 === void 0 ? void 0 : Metallic1.value : Metallic1, isRaw: typeof Metallic1 === "object" && "isRaw" in Metallic1 && Metallic1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Smoothness0", id: typeof Smoothness0 === "object" && "id" in Smoothness0 ? Smoothness0 === null || Smoothness0 === void 0 ? void 0 : Smoothness0.id : undefined, value: typeof Smoothness0 === "object" && "value" in Smoothness0 ? Smoothness0 === null || Smoothness0 === void 0 ? void 0 : Smoothness0.value : Smoothness0, isRaw: typeof Smoothness0 === "object" && "isRaw" in Smoothness0 && Smoothness0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Smoothness1", id: typeof Smoothness1 === "object" && "id" in Smoothness1 ? Smoothness1 === null || Smoothness1 === void 0 ? void 0 : Smoothness1.id : undefined, value: typeof Smoothness1 === "object" && "value" in Smoothness1 ? Smoothness1 === null || Smoothness1 === void 0 ? void 0 : Smoothness1.value : Smoothness1, isRaw: typeof Smoothness1 === "object" && "isRaw" in Smoothness1 && Smoothness1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "MetallicMap0", id: typeof MetallicMap0 === "object" && "id" in MetallicMap0 ? MetallicMap0 === null || MetallicMap0 === void 0 ? void 0 : MetallicMap0.id : undefined, value: typeof MetallicMap0 === "object" && "value" in MetallicMap0 ? MetallicMap0 === null || MetallicMap0 === void 0 ? void 0 : MetallicMap0.value : MetallicMap0, isRaw: typeof MetallicMap0 === "object" && "isRaw" in MetallicMap0 && MetallicMap0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "MetallicMap1", id: typeof MetallicMap1 === "object" && "id" in MetallicMap1 ? MetallicMap1 === null || MetallicMap1 === void 0 ? void 0 : MetallicMap1.id : undefined, value: typeof MetallicMap1 === "object" && "value" in MetallicMap1 ? MetallicMap1 === null || MetallicMap1 === void 0 ? void 0 : MetallicMap1.value : MetallicMap1, isRaw: typeof MetallicMap1 === "object" && "isRaw" in MetallicMap1 && MetallicMap1.isRaw ? true : undefined })] }))); } exports.PBSLerpMetallic = PBSLerpMetallic; ;