UNPKG

neos-script

Version:

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

23 lines (22 loc) 14.8 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.PBS_VertexColorMetallic = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../../core"); function PBS_VertexColorMetallic(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, TextureScale = props.TextureScale, TextureOffset = props.TextureOffset, AlbedoColor = props.AlbedoColor, AlbedoTexture = props.AlbedoTexture, EmissiveColor = props.EmissiveColor, EmissiveMap = props.EmissiveMap, NormalMap = props.NormalMap, NormalScale = props.NormalScale, OcclusionMap = props.OcclusionMap, Culling = props.Culling, AlphaHandling = props.AlphaHandling, AlphaClip = props.AlphaClip, OffsetFactor = props.OffsetFactor, OffsetUnits = props.OffsetUnits, RenderQueue = props.RenderQueue, Metallic = props.Metallic, Smoothness = props.Smoothness, MetallicMap = props.MetallicMap, VertexColorTarget = props.VertexColorTarget, _regular = props._regular, _transparent = props._transparent, _transparentFront = props._transparentFront; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.PBS_VertexColorMetallic", 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[BaseX.float2]", name: "TextureScale", id: typeof TextureScale === "object" && "id" in TextureScale ? TextureScale === null || TextureScale === void 0 ? void 0 : TextureScale.id : undefined, value: typeof TextureScale === "object" && "value" in TextureScale ? TextureScale === null || TextureScale === void 0 ? void 0 : TextureScale.value : TextureScale, isRaw: typeof TextureScale === "object" && "isRaw" in TextureScale && TextureScale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "TextureOffset", id: typeof TextureOffset === "object" && "id" in TextureOffset ? TextureOffset === null || TextureOffset === void 0 ? void 0 : TextureOffset.id : undefined, value: typeof TextureOffset === "object" && "value" in TextureOffset ? TextureOffset === null || TextureOffset === void 0 ? void 0 : TextureOffset.value : TextureOffset, isRaw: typeof TextureOffset === "object" && "isRaw" in TextureOffset && TextureOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "AlbedoColor", id: typeof AlbedoColor === "object" && "id" in AlbedoColor ? AlbedoColor === null || AlbedoColor === void 0 ? void 0 : AlbedoColor.id : undefined, value: typeof AlbedoColor === "object" && "value" in AlbedoColor ? AlbedoColor === null || AlbedoColor === void 0 ? void 0 : AlbedoColor.value : AlbedoColor, isRaw: typeof AlbedoColor === "object" && "isRaw" in AlbedoColor && AlbedoColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "AlbedoTexture", id: typeof AlbedoTexture === "object" && "id" in AlbedoTexture ? AlbedoTexture === null || AlbedoTexture === void 0 ? void 0 : AlbedoTexture.id : undefined, value: typeof AlbedoTexture === "object" && "value" in AlbedoTexture ? AlbedoTexture === null || AlbedoTexture === void 0 ? void 0 : AlbedoTexture.value : AlbedoTexture, isRaw: typeof AlbedoTexture === "object" && "isRaw" in AlbedoTexture && AlbedoTexture.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "EmissiveColor", id: typeof EmissiveColor === "object" && "id" in EmissiveColor ? EmissiveColor === null || EmissiveColor === void 0 ? void 0 : EmissiveColor.id : undefined, value: typeof EmissiveColor === "object" && "value" in EmissiveColor ? EmissiveColor === null || EmissiveColor === void 0 ? void 0 : EmissiveColor.value : EmissiveColor, isRaw: typeof EmissiveColor === "object" && "isRaw" in EmissiveColor && EmissiveColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "EmissiveMap", id: typeof EmissiveMap === "object" && "id" in EmissiveMap ? EmissiveMap === null || EmissiveMap === void 0 ? void 0 : EmissiveMap.id : undefined, value: typeof EmissiveMap === "object" && "value" in EmissiveMap ? EmissiveMap === null || EmissiveMap === void 0 ? void 0 : EmissiveMap.value : EmissiveMap, isRaw: typeof EmissiveMap === "object" && "isRaw" in EmissiveMap && EmissiveMap.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "NormalMap", id: typeof NormalMap === "object" && "id" in NormalMap ? NormalMap === null || NormalMap === void 0 ? void 0 : NormalMap.id : undefined, value: typeof NormalMap === "object" && "value" in NormalMap ? NormalMap === null || NormalMap === void 0 ? void 0 : NormalMap.value : NormalMap, isRaw: typeof NormalMap === "object" && "isRaw" in NormalMap && NormalMap.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "NormalScale", id: typeof NormalScale === "object" && "id" in NormalScale ? NormalScale === null || NormalScale === void 0 ? void 0 : NormalScale.id : undefined, value: typeof NormalScale === "object" && "value" in NormalScale ? NormalScale === null || NormalScale === void 0 ? void 0 : NormalScale.value : NormalScale, isRaw: typeof NormalScale === "object" && "isRaw" in NormalScale && NormalScale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "OcclusionMap", id: typeof OcclusionMap === "object" && "id" in OcclusionMap ? OcclusionMap === null || OcclusionMap === void 0 ? void 0 : OcclusionMap.id : undefined, value: typeof OcclusionMap === "object" && "value" in OcclusionMap ? OcclusionMap === null || OcclusionMap === void 0 ? void 0 : OcclusionMap.value : OcclusionMap, isRaw: typeof OcclusionMap === "object" && "isRaw" in OcclusionMap && OcclusionMap.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.Culling]", name: "Culling", id: typeof Culling === "object" && "id" in Culling ? Culling === null || Culling === void 0 ? void 0 : Culling.id : undefined, value: typeof Culling === "object" && "value" in Culling ? Culling === null || Culling === void 0 ? void 0 : Culling.value : Culling, isRaw: typeof Culling === "object" && "isRaw" in Culling && Culling.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.AlphaHandling]", name: "AlphaHandling", id: typeof AlphaHandling === "object" && "id" in AlphaHandling ? AlphaHandling === null || AlphaHandling === void 0 ? void 0 : AlphaHandling.id : undefined, value: typeof AlphaHandling === "object" && "value" in AlphaHandling ? AlphaHandling === null || AlphaHandling === void 0 ? void 0 : AlphaHandling.value : AlphaHandling, isRaw: typeof AlphaHandling === "object" && "isRaw" in AlphaHandling && AlphaHandling.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "AlphaClip", id: typeof AlphaClip === "object" && "id" in AlphaClip ? AlphaClip === null || AlphaClip === void 0 ? void 0 : AlphaClip.id : undefined, value: typeof AlphaClip === "object" && "value" in AlphaClip ? AlphaClip === null || AlphaClip === void 0 ? void 0 : AlphaClip.value : AlphaClip, isRaw: typeof AlphaClip === "object" && "isRaw" in AlphaClip && AlphaClip.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: "Metallic", id: typeof Metallic === "object" && "id" in Metallic ? Metallic === null || Metallic === void 0 ? void 0 : Metallic.id : undefined, value: typeof Metallic === "object" && "value" in Metallic ? Metallic === null || Metallic === void 0 ? void 0 : Metallic.value : Metallic, isRaw: typeof Metallic === "object" && "isRaw" in Metallic && Metallic.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Smoothness", id: typeof Smoothness === "object" && "id" in Smoothness ? Smoothness === null || Smoothness === void 0 ? void 0 : Smoothness.id : undefined, value: typeof Smoothness === "object" && "value" in Smoothness ? Smoothness === null || Smoothness === void 0 ? void 0 : Smoothness.value : Smoothness, isRaw: typeof Smoothness === "object" && "isRaw" in Smoothness && Smoothness.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "MetallicMap", id: typeof MetallicMap === "object" && "id" in MetallicMap ? MetallicMap === null || MetallicMap === void 0 ? void 0 : MetallicMap.id : undefined, value: typeof MetallicMap === "object" && "value" in MetallicMap ? MetallicMap === null || MetallicMap === void 0 ? void 0 : MetallicMap.value : MetallicMap, isRaw: typeof MetallicMap === "object" && "isRaw" in MetallicMap && MetallicMap.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.PBS_VertexColorMetallic+ColorTarget]", name: "VertexColorTarget", id: typeof VertexColorTarget === "object" && "id" in VertexColorTarget ? VertexColorTarget === null || VertexColorTarget === void 0 ? void 0 : VertexColorTarget.id : undefined, value: typeof VertexColorTarget === "object" && "value" in VertexColorTarget ? VertexColorTarget === null || VertexColorTarget === void 0 ? void 0 : VertexColorTarget.value : VertexColorTarget, isRaw: typeof VertexColorTarget === "object" && "isRaw" in VertexColorTarget && VertexColorTarget.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Shader]", name: "_regular-ID", id: typeof _regular === "object" && "id" in _regular ? _regular === null || _regular === void 0 ? void 0 : _regular.id : undefined, value: typeof _regular === "object" && "value" in _regular ? _regular === null || _regular === void 0 ? void 0 : _regular.value : _regular, readOnly: true, isRaw: typeof _regular === "object" && "isRaw" in _regular && _regular.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Shader]", name: "_transparent-ID", id: typeof _transparent === "object" && "id" in _transparent ? _transparent === null || _transparent === void 0 ? void 0 : _transparent.id : undefined, value: typeof _transparent === "object" && "value" in _transparent ? _transparent === null || _transparent === void 0 ? void 0 : _transparent.value : _transparent, readOnly: true, isRaw: typeof _transparent === "object" && "isRaw" in _transparent && _transparent.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Shader]", name: "_transparentFront-ID", id: typeof _transparentFront === "object" && "id" in _transparentFront ? _transparentFront === null || _transparentFront === void 0 ? void 0 : _transparentFront.id : undefined, value: typeof _transparentFront === "object" && "value" in _transparentFront ? _transparentFront === null || _transparentFront === void 0 ? void 0 : _transparentFront.value : _transparentFront, readOnly: true, isRaw: typeof _transparentFront === "object" && "isRaw" in _transparentFront && _transparentFront.isRaw ? true : undefined })] }))); } exports.PBS_VertexColorMetallic = PBS_VertexColorMetallic; ;