UNPKG

neos-script

Version:

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

23 lines (22 loc) 10.2 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.VolumeUnlitMaterial = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../../core"); function VolumeUnlitMaterial(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, _shader = props._shader, Mode = props.Mode, BlendMode = props.BlendMode, RenderQueue = props.RenderQueue, Volume = props.Volume, StepSize = props.StepSize, Gain = props.Gain, Exp = props.Exp, AccumulationCutoff = props.AccumulationCutoff, HitThreshold = props.HitThreshold, InputRange = props.InputRange, InputOffset = props.InputOffset, UseAlphaChannel = props.UseAlphaChannel, Slices = props.Slices, Highlights = props.Highlights; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.VolumeUnlitMaterial", 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[FrooxEngine.VolumeUnlitMaterial+DisplayMode]", name: "Mode", id: typeof Mode === "object" && "id" in Mode ? Mode === null || Mode === void 0 ? void 0 : Mode.id : undefined, value: typeof Mode === "object" && "value" in Mode ? Mode === null || Mode === void 0 ? void 0 : Mode.value : Mode, isRaw: typeof Mode === "object" && "isRaw" in Mode && Mode.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.BlendMode]", name: "BlendMode", id: typeof BlendMode === "object" && "id" in BlendMode ? BlendMode === null || BlendMode === void 0 ? void 0 : BlendMode.id : undefined, value: typeof BlendMode === "object" && "value" in BlendMode ? BlendMode === null || BlendMode === void 0 ? void 0 : BlendMode.value : BlendMode, isRaw: typeof BlendMode === "object" && "isRaw" in BlendMode && BlendMode.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.AssetRef`1[FrooxEngine.Texture3D]", name: "Volume", id: typeof Volume === "object" && "id" in Volume ? Volume === null || Volume === void 0 ? void 0 : Volume.id : undefined, value: typeof Volume === "object" && "value" in Volume ? Volume === null || Volume === void 0 ? void 0 : Volume.value : Volume, isRaw: typeof Volume === "object" && "isRaw" in Volume && Volume.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "StepSize", id: typeof StepSize === "object" && "id" in StepSize ? StepSize === null || StepSize === void 0 ? void 0 : StepSize.id : undefined, value: typeof StepSize === "object" && "value" in StepSize ? StepSize === null || StepSize === void 0 ? void 0 : StepSize.value : StepSize, isRaw: typeof StepSize === "object" && "isRaw" in StepSize && StepSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Gain", id: typeof Gain === "object" && "id" in Gain ? Gain === null || Gain === void 0 ? void 0 : Gain.id : undefined, value: typeof Gain === "object" && "value" in Gain ? Gain === null || Gain === void 0 ? void 0 : Gain.value : Gain, isRaw: typeof Gain === "object" && "isRaw" in Gain && Gain.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Exp", id: typeof Exp === "object" && "id" in Exp ? Exp === null || Exp === void 0 ? void 0 : Exp.id : undefined, value: typeof Exp === "object" && "value" in Exp ? Exp === null || Exp === void 0 ? void 0 : Exp.value : Exp, isRaw: typeof Exp === "object" && "isRaw" in Exp && Exp.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "AccumulationCutoff", id: typeof AccumulationCutoff === "object" && "id" in AccumulationCutoff ? AccumulationCutoff === null || AccumulationCutoff === void 0 ? void 0 : AccumulationCutoff.id : undefined, value: typeof AccumulationCutoff === "object" && "value" in AccumulationCutoff ? AccumulationCutoff === null || AccumulationCutoff === void 0 ? void 0 : AccumulationCutoff.value : AccumulationCutoff, isRaw: typeof AccumulationCutoff === "object" && "isRaw" in AccumulationCutoff && AccumulationCutoff.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "HitThreshold", id: typeof HitThreshold === "object" && "id" in HitThreshold ? HitThreshold === null || HitThreshold === void 0 ? void 0 : HitThreshold.id : undefined, value: typeof HitThreshold === "object" && "value" in HitThreshold ? HitThreshold === null || HitThreshold === void 0 ? void 0 : HitThreshold.value : HitThreshold, isRaw: typeof HitThreshold === "object" && "isRaw" in HitThreshold && HitThreshold.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "InputRange", id: typeof InputRange === "object" && "id" in InputRange ? InputRange === null || InputRange === void 0 ? void 0 : InputRange.id : undefined, value: typeof InputRange === "object" && "value" in InputRange ? InputRange === null || InputRange === void 0 ? void 0 : InputRange.value : InputRange, isRaw: typeof InputRange === "object" && "isRaw" in InputRange && InputRange.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "InputOffset", id: typeof InputOffset === "object" && "id" in InputOffset ? InputOffset === null || InputOffset === void 0 ? void 0 : InputOffset.id : undefined, value: typeof InputOffset === "object" && "value" in InputOffset ? InputOffset === null || InputOffset === void 0 ? void 0 : InputOffset.value : InputOffset, isRaw: typeof InputOffset === "object" && "isRaw" in InputOffset && InputOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "UseAlphaChannel", id: typeof UseAlphaChannel === "object" && "id" in UseAlphaChannel ? UseAlphaChannel === null || UseAlphaChannel === void 0 ? void 0 : UseAlphaChannel.id : undefined, value: typeof UseAlphaChannel === "object" && "value" in UseAlphaChannel ? UseAlphaChannel === null || UseAlphaChannel === void 0 ? void 0 : UseAlphaChannel.value : UseAlphaChannel, isRaw: typeof UseAlphaChannel === "object" && "isRaw" in UseAlphaChannel && UseAlphaChannel.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncList`1[FrooxEngine.VolumeUnlitMaterial+SlicePlane]", name: "Slices", id: typeof Slices === "object" && "id" in Slices ? Slices === null || Slices === void 0 ? void 0 : Slices.id : undefined, value: typeof Slices === "object" && "value" in Slices ? Slices === null || Slices === void 0 ? void 0 : Slices.value : Slices, isRaw: typeof Slices === "object" && "isRaw" in Slices && Slices.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncList`1[FrooxEngine.VolumeUnlitMaterial+Highlight]", name: "Highlights", id: typeof Highlights === "object" && "id" in Highlights ? Highlights === null || Highlights === void 0 ? void 0 : Highlights.id : undefined, value: typeof Highlights === "object" && "value" in Highlights ? Highlights === null || Highlights === void 0 ? void 0 : Highlights.value : Highlights, isRaw: typeof Highlights === "object" && "isRaw" in Highlights && Highlights.isRaw ? true : undefined })] }))); } exports.VolumeUnlitMaterial = VolumeUnlitMaterial; ;