UNPKG

neos-script

Version:

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

23 lines (22 loc) 8.01 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.ImageColorDistributionGraph = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function ImageColorDistributionGraph(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, OverrideBoundingBox = props.OverrideBoundingBox, OverridenBoundingBox = props.OverridenBoundingBox, Texture = props.Texture, ColorSpace = props.ColorSpace, MaxTextureSize = props.MaxTextureSize, BaseSize = props.BaseSize, AccumulateSize = props.AccumulateSize, MaxSize = props.MaxSize, Scale = props.Scale, AlphaThreshold = props.AlphaThreshold; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.ImageColorDistributionGraph", 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[System.Boolean]", name: "OverrideBoundingBox", id: typeof OverrideBoundingBox === "object" && "id" in OverrideBoundingBox ? OverrideBoundingBox === null || OverrideBoundingBox === void 0 ? void 0 : OverrideBoundingBox.id : undefined, value: typeof OverrideBoundingBox === "object" && "value" in OverrideBoundingBox ? OverrideBoundingBox === null || OverrideBoundingBox === void 0 ? void 0 : OverrideBoundingBox.value : OverrideBoundingBox, isRaw: typeof OverrideBoundingBox === "object" && "isRaw" in OverrideBoundingBox && OverrideBoundingBox.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.BoundingBox]", name: "OverridenBoundingBox", id: typeof OverridenBoundingBox === "object" && "id" in OverridenBoundingBox ? OverridenBoundingBox === null || OverridenBoundingBox === void 0 ? void 0 : OverridenBoundingBox.id : undefined, value: typeof OverridenBoundingBox === "object" && "value" in OverridenBoundingBox ? OverridenBoundingBox === null || OverridenBoundingBox === void 0 ? void 0 : OverridenBoundingBox.value : OverridenBoundingBox, isRaw: typeof OverridenBoundingBox === "object" && "isRaw" in OverridenBoundingBox && OverridenBoundingBox.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Texture2D]", name: "Texture", id: typeof Texture === "object" && "id" in Texture ? Texture === null || Texture === void 0 ? void 0 : Texture.id : undefined, value: typeof Texture === "object" && "value" in Texture ? Texture === null || Texture === void 0 ? void 0 : Texture.value : Texture, isRaw: typeof Texture === "object" && "isRaw" in Texture && Texture.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.ImageColorDistributionGraph+Space]", name: "ColorSpace", id: typeof ColorSpace === "object" && "id" in ColorSpace ? ColorSpace === null || ColorSpace === void 0 ? void 0 : ColorSpace.id : undefined, value: typeof ColorSpace === "object" && "value" in ColorSpace ? ColorSpace === null || ColorSpace === void 0 ? void 0 : ColorSpace.value : ColorSpace, isRaw: typeof ColorSpace === "object" && "isRaw" in ColorSpace && ColorSpace.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "MaxTextureSize", id: typeof MaxTextureSize === "object" && "id" in MaxTextureSize ? MaxTextureSize === null || MaxTextureSize === void 0 ? void 0 : MaxTextureSize.id : undefined, value: typeof MaxTextureSize === "object" && "value" in MaxTextureSize ? MaxTextureSize === null || MaxTextureSize === void 0 ? void 0 : MaxTextureSize.value : MaxTextureSize, isRaw: typeof MaxTextureSize === "object" && "isRaw" in MaxTextureSize && MaxTextureSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "BaseSize", id: typeof BaseSize === "object" && "id" in BaseSize ? BaseSize === null || BaseSize === void 0 ? void 0 : BaseSize.id : undefined, value: typeof BaseSize === "object" && "value" in BaseSize ? BaseSize === null || BaseSize === void 0 ? void 0 : BaseSize.value : BaseSize, isRaw: typeof BaseSize === "object" && "isRaw" in BaseSize && BaseSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "AccumulateSize", id: typeof AccumulateSize === "object" && "id" in AccumulateSize ? AccumulateSize === null || AccumulateSize === void 0 ? void 0 : AccumulateSize.id : undefined, value: typeof AccumulateSize === "object" && "value" in AccumulateSize ? AccumulateSize === null || AccumulateSize === void 0 ? void 0 : AccumulateSize.value : AccumulateSize, isRaw: typeof AccumulateSize === "object" && "isRaw" in AccumulateSize && AccumulateSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "MaxSize", id: typeof MaxSize === "object" && "id" in MaxSize ? MaxSize === null || MaxSize === void 0 ? void 0 : MaxSize.id : undefined, value: typeof MaxSize === "object" && "value" in MaxSize ? MaxSize === null || MaxSize === void 0 ? void 0 : MaxSize.value : MaxSize, isRaw: typeof MaxSize === "object" && "isRaw" in MaxSize && MaxSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "Scale", id: typeof Scale === "object" && "id" in Scale ? Scale === null || Scale === void 0 ? void 0 : Scale.id : undefined, value: typeof Scale === "object" && "value" in Scale ? Scale === null || Scale === void 0 ? void 0 : Scale.value : Scale, isRaw: typeof Scale === "object" && "isRaw" in Scale && Scale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "AlphaThreshold", id: typeof AlphaThreshold === "object" && "id" in AlphaThreshold ? AlphaThreshold === null || AlphaThreshold === void 0 ? void 0 : AlphaThreshold.id : undefined, value: typeof AlphaThreshold === "object" && "value" in AlphaThreshold ? AlphaThreshold === null || AlphaThreshold === void 0 ? void 0 : AlphaThreshold.value : AlphaThreshold, isRaw: typeof AlphaThreshold === "object" && "isRaw" in AlphaThreshold && AlphaThreshold.isRaw ? true : undefined })] }))); } exports.ImageColorDistributionGraph = ImageColorDistributionGraph; ;