UNPKG

neos-script

Version:

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

23 lines (22 loc) 15.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.PBS_StencilMaterialSpecular = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../../core"); function PBS_StencilMaterialSpecular(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, ColorMask = props.ColorMask, StencilComparison = props.StencilComparison, StencilOperation = props.StencilOperation, StencilID = props.StencilID, StencilWriteMask = props.StencilWriteMask, StencilReadMask = props.StencilReadMask, OffsetFactor = props.OffsetFactor, OffsetUnits = props.OffsetUnits, RenderQueue = props.RenderQueue, __rectDummy = props.__rectDummy, __rectClipDummy = props.__rectClipDummy, SpecularColor = props.SpecularColor, SpecularMap = props.SpecularMap, _regular = props._regular; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.PBS_StencilMaterialSpecular", 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.ColorMask]", name: "ColorMask", id: typeof ColorMask === "object" && "id" in ColorMask ? ColorMask === null || ColorMask === void 0 ? void 0 : ColorMask.id : undefined, value: typeof ColorMask === "object" && "value" in ColorMask ? ColorMask === null || ColorMask === void 0 ? void 0 : ColorMask.value : ColorMask, isRaw: typeof ColorMask === "object" && "isRaw" in ColorMask && ColorMask.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.StencilComparison]", name: "StencilComparison", id: typeof StencilComparison === "object" && "id" in StencilComparison ? StencilComparison === null || StencilComparison === void 0 ? void 0 : StencilComparison.id : undefined, value: typeof StencilComparison === "object" && "value" in StencilComparison ? StencilComparison === null || StencilComparison === void 0 ? void 0 : StencilComparison.value : StencilComparison, isRaw: typeof StencilComparison === "object" && "isRaw" in StencilComparison && StencilComparison.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.StencilOperation]", name: "StencilOperation", id: typeof StencilOperation === "object" && "id" in StencilOperation ? StencilOperation === null || StencilOperation === void 0 ? void 0 : StencilOperation.id : undefined, value: typeof StencilOperation === "object" && "value" in StencilOperation ? StencilOperation === null || StencilOperation === void 0 ? void 0 : StencilOperation.value : StencilOperation, isRaw: typeof StencilOperation === "object" && "isRaw" in StencilOperation && StencilOperation.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Byte]", name: "StencilID", id: typeof StencilID === "object" && "id" in StencilID ? StencilID === null || StencilID === void 0 ? void 0 : StencilID.id : undefined, value: typeof StencilID === "object" && "value" in StencilID ? StencilID === null || StencilID === void 0 ? void 0 : StencilID.value : StencilID, isRaw: typeof StencilID === "object" && "isRaw" in StencilID && StencilID.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Byte]", name: "StencilWriteMask", id: typeof StencilWriteMask === "object" && "id" in StencilWriteMask ? StencilWriteMask === null || StencilWriteMask === void 0 ? void 0 : StencilWriteMask.id : undefined, value: typeof StencilWriteMask === "object" && "value" in StencilWriteMask ? StencilWriteMask === null || StencilWriteMask === void 0 ? void 0 : StencilWriteMask.value : StencilWriteMask, isRaw: typeof StencilWriteMask === "object" && "isRaw" in StencilWriteMask && StencilWriteMask.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Byte]", name: "StencilReadMask", id: typeof StencilReadMask === "object" && "id" in StencilReadMask ? StencilReadMask === null || StencilReadMask === void 0 ? void 0 : StencilReadMask.id : undefined, value: typeof StencilReadMask === "object" && "value" in StencilReadMask ? StencilReadMask === null || StencilReadMask === void 0 ? void 0 : StencilReadMask.value : StencilReadMask, isRaw: typeof StencilReadMask === "object" && "isRaw" in StencilReadMask && StencilReadMask.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[BaseX.Rect]", name: "__rectDummy", id: typeof __rectDummy === "object" && "id" in __rectDummy ? __rectDummy === null || __rectDummy === void 0 ? void 0 : __rectDummy.id : undefined, value: typeof __rectDummy === "object" && "value" in __rectDummy ? __rectDummy === null || __rectDummy === void 0 ? void 0 : __rectDummy.value : __rectDummy, isRaw: typeof __rectDummy === "object" && "isRaw" in __rectDummy && __rectDummy.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "__rectClipDummy", id: typeof __rectClipDummy === "object" && "id" in __rectClipDummy ? __rectClipDummy === null || __rectClipDummy === void 0 ? void 0 : __rectClipDummy.id : undefined, value: typeof __rectClipDummy === "object" && "value" in __rectClipDummy ? __rectClipDummy === null || __rectClipDummy === void 0 ? void 0 : __rectClipDummy.value : __rectClipDummy, isRaw: typeof __rectClipDummy === "object" && "isRaw" in __rectClipDummy && __rectClipDummy.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "SpecularColor", id: typeof SpecularColor === "object" && "id" in SpecularColor ? SpecularColor === null || SpecularColor === void 0 ? void 0 : SpecularColor.id : undefined, value: typeof SpecularColor === "object" && "value" in SpecularColor ? SpecularColor === null || SpecularColor === void 0 ? void 0 : SpecularColor.value : SpecularColor, isRaw: typeof SpecularColor === "object" && "isRaw" in SpecularColor && SpecularColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", name: "SpecularMap", id: typeof SpecularMap === "object" && "id" in SpecularMap ? SpecularMap === null || SpecularMap === void 0 ? void 0 : SpecularMap.id : undefined, value: typeof SpecularMap === "object" && "value" in SpecularMap ? SpecularMap === null || SpecularMap === void 0 ? void 0 : SpecularMap.value : SpecularMap, isRaw: typeof SpecularMap === "object" && "isRaw" in SpecularMap && SpecularMap.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 })] }))); } exports.PBS_StencilMaterialSpecular = PBS_StencilMaterialSpecular; ;