neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 15.8 kB
JavaScript
;
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_IntersectMetallic = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../../core");
function PBS_IntersectMetallic(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, _shader = props._shader, BeginTransitionStart = props.BeginTransitionStart, BeginTransitionEnd = props.BeginTransitionEnd, EndTransitionStart = props.EndTransitionStart, EndTransitionEnd = props.EndTransitionEnd, TextureScale = props.TextureScale, TextureOffset = props.TextureOffset, AlbedoColor = props.AlbedoColor, IntersectAlbedoColor = props.IntersectAlbedoColor, AlbedoTexture = props.AlbedoTexture, EmissiveColor = props.EmissiveColor, IntersectEmissiveColor = props.IntersectEmissiveColor, EmissiveMap = props.EmissiveMap, NormalMap = props.NormalMap, NormalScale = props.NormalScale, OcclusionMap = props.OcclusionMap, Culling = props.Culling, OffsetFactor = props.OffsetFactor, OffsetUnits = props.OffsetUnits, RenderQueue = props.RenderQueue, Metallic = props.Metallic, Smoothness = props.Smoothness, MetallicMap = props.MetallicMap;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.PBS_IntersectMetallic", 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: "BeginTransitionStart", id: typeof BeginTransitionStart === "object" && "id" in BeginTransitionStart ? BeginTransitionStart === null || BeginTransitionStart === void 0 ? void 0 : BeginTransitionStart.id : undefined, value: typeof BeginTransitionStart === "object" && "value" in BeginTransitionStart ? BeginTransitionStart === null || BeginTransitionStart === void 0 ? void 0 : BeginTransitionStart.value : BeginTransitionStart, isRaw: typeof BeginTransitionStart === "object" && "isRaw" in BeginTransitionStart && BeginTransitionStart.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "BeginTransitionEnd", id: typeof BeginTransitionEnd === "object" && "id" in BeginTransitionEnd ? BeginTransitionEnd === null || BeginTransitionEnd === void 0 ? void 0 : BeginTransitionEnd.id : undefined, value: typeof BeginTransitionEnd === "object" && "value" in BeginTransitionEnd ? BeginTransitionEnd === null || BeginTransitionEnd === void 0 ? void 0 : BeginTransitionEnd.value : BeginTransitionEnd, isRaw: typeof BeginTransitionEnd === "object" && "isRaw" in BeginTransitionEnd && BeginTransitionEnd.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "EndTransitionStart", id: typeof EndTransitionStart === "object" && "id" in EndTransitionStart ? EndTransitionStart === null || EndTransitionStart === void 0 ? void 0 : EndTransitionStart.id : undefined, value: typeof EndTransitionStart === "object" && "value" in EndTransitionStart ? EndTransitionStart === null || EndTransitionStart === void 0 ? void 0 : EndTransitionStart.value : EndTransitionStart, isRaw: typeof EndTransitionStart === "object" && "isRaw" in EndTransitionStart && EndTransitionStart.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "EndTransitionEnd", id: typeof EndTransitionEnd === "object" && "id" in EndTransitionEnd ? EndTransitionEnd === null || EndTransitionEnd === void 0 ? void 0 : EndTransitionEnd.id : undefined, value: typeof EndTransitionEnd === "object" && "value" in EndTransitionEnd ? EndTransitionEnd === null || EndTransitionEnd === void 0 ? void 0 : EndTransitionEnd.value : EndTransitionEnd, isRaw: typeof EndTransitionEnd === "object" && "isRaw" in EndTransitionEnd && EndTransitionEnd.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.Sync`1[BaseX.color]", name: "IntersectAlbedoColor", id: typeof IntersectAlbedoColor === "object" && "id" in IntersectAlbedoColor ? IntersectAlbedoColor === null || IntersectAlbedoColor === void 0 ? void 0 : IntersectAlbedoColor.id : undefined, value: typeof IntersectAlbedoColor === "object" && "value" in IntersectAlbedoColor ? IntersectAlbedoColor === null || IntersectAlbedoColor === void 0 ? void 0 : IntersectAlbedoColor.value : IntersectAlbedoColor, isRaw: typeof IntersectAlbedoColor === "object" && "isRaw" in IntersectAlbedoColor && IntersectAlbedoColor.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.Sync`1[BaseX.color]", name: "IntersectEmissiveColor", id: typeof IntersectEmissiveColor === "object" && "id" in IntersectEmissiveColor ? IntersectEmissiveColor === null || IntersectEmissiveColor === void 0 ? void 0 : IntersectEmissiveColor.id : undefined, value: typeof IntersectEmissiveColor === "object" && "value" in IntersectEmissiveColor ? IntersectEmissiveColor === null || IntersectEmissiveColor === void 0 ? void 0 : IntersectEmissiveColor.value : IntersectEmissiveColor, isRaw: typeof IntersectEmissiveColor === "object" && "isRaw" in IntersectEmissiveColor && IntersectEmissiveColor.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[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 })] })));
}
exports.PBS_IntersectMetallic = PBS_IntersectMetallic;
;