neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 9.06 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.BakeReflectionProbes = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function BakeReflectionProbes(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, _activeVisual = props._activeVisual, Root = props.Root, BakeInactive = props.BakeInactive, FilterWithTag = props.FilterWithTag, DelayBeforeBake = props.DelayBeforeBake, OnBakeBatchStart = props.OnBakeBatchStart, OnBeforeProbeBake = props.OnBeforeProbeBake, OnProbeBaked = props.OnProbeBaked, OnBakeBatchFinished = props.OnBakeBatchFinished, _probe = props._probe, _isBaking = props._isBaking, _probeCount = props._probeCount, _probeIndex = props._probeIndex;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.LogiX.Rendering.BakeReflectionProbes", 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.CleanupRef`1[FrooxEngine.Slot]", name: "_activeVisual", id: typeof _activeVisual === "object" && "id" in _activeVisual ? _activeVisual === null || _activeVisual === void 0 ? void 0 : _activeVisual.id : undefined, value: typeof _activeVisual === "object" && "value" in _activeVisual ? _activeVisual === null || _activeVisual === void 0 ? void 0 : _activeVisual.value : _activeVisual, isRaw: typeof _activeVisual === "object" && "isRaw" in _activeVisual && _activeVisual.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[FrooxEngine.Slot]", name: "Root", id: typeof Root === "object" && "id" in Root ? Root === null || Root === void 0 ? void 0 : Root.id : undefined, value: typeof Root === "object" && "value" in Root ? Root === null || Root === void 0 ? void 0 : Root.value : Root, isRaw: typeof Root === "object" && "isRaw" in Root && Root.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "BakeInactive", id: typeof BakeInactive === "object" && "id" in BakeInactive ? BakeInactive === null || BakeInactive === void 0 ? void 0 : BakeInactive.id : undefined, value: typeof BakeInactive === "object" && "value" in BakeInactive ? BakeInactive === null || BakeInactive === void 0 ? void 0 : BakeInactive.value : BakeInactive, isRaw: typeof BakeInactive === "object" && "isRaw" in BakeInactive && BakeInactive.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.String]", name: "FilterWithTag", id: typeof FilterWithTag === "object" && "id" in FilterWithTag ? FilterWithTag === null || FilterWithTag === void 0 ? void 0 : FilterWithTag.id : undefined, value: typeof FilterWithTag === "object" && "value" in FilterWithTag ? FilterWithTag === null || FilterWithTag === void 0 ? void 0 : FilterWithTag.value : FilterWithTag, isRaw: typeof FilterWithTag === "object" && "isRaw" in FilterWithTag && FilterWithTag.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Single]", name: "DelayBeforeBake", id: typeof DelayBeforeBake === "object" && "id" in DelayBeforeBake ? DelayBeforeBake === null || DelayBeforeBake === void 0 ? void 0 : DelayBeforeBake.id : undefined, value: typeof DelayBeforeBake === "object" && "value" in DelayBeforeBake ? DelayBeforeBake === null || DelayBeforeBake === void 0 ? void 0 : DelayBeforeBake.value : DelayBeforeBake, isRaw: typeof DelayBeforeBake === "object" && "isRaw" in DelayBeforeBake && DelayBeforeBake.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Impulse", name: "OnBakeBatchStart", id: typeof OnBakeBatchStart === "object" && "id" in OnBakeBatchStart ? OnBakeBatchStart === null || OnBakeBatchStart === void 0 ? void 0 : OnBakeBatchStart.id : undefined, value: typeof OnBakeBatchStart === "object" && "value" in OnBakeBatchStart ? OnBakeBatchStart === null || OnBakeBatchStart === void 0 ? void 0 : OnBakeBatchStart.value : OnBakeBatchStart, isRaw: typeof OnBakeBatchStart === "object" && "isRaw" in OnBakeBatchStart && OnBakeBatchStart.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Impulse", name: "OnBeforeProbeBake", id: typeof OnBeforeProbeBake === "object" && "id" in OnBeforeProbeBake ? OnBeforeProbeBake === null || OnBeforeProbeBake === void 0 ? void 0 : OnBeforeProbeBake.id : undefined, value: typeof OnBeforeProbeBake === "object" && "value" in OnBeforeProbeBake ? OnBeforeProbeBake === null || OnBeforeProbeBake === void 0 ? void 0 : OnBeforeProbeBake.value : OnBeforeProbeBake, isRaw: typeof OnBeforeProbeBake === "object" && "isRaw" in OnBeforeProbeBake && OnBeforeProbeBake.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Impulse", name: "OnProbeBaked", id: typeof OnProbeBaked === "object" && "id" in OnProbeBaked ? OnProbeBaked === null || OnProbeBaked === void 0 ? void 0 : OnProbeBaked.id : undefined, value: typeof OnProbeBaked === "object" && "value" in OnProbeBaked ? OnProbeBaked === null || OnProbeBaked === void 0 ? void 0 : OnProbeBaked.value : OnProbeBaked, isRaw: typeof OnProbeBaked === "object" && "isRaw" in OnProbeBaked && OnProbeBaked.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Impulse", name: "OnBakeBatchFinished", id: typeof OnBakeBatchFinished === "object" && "id" in OnBakeBatchFinished ? OnBakeBatchFinished === null || OnBakeBatchFinished === void 0 ? void 0 : OnBakeBatchFinished.id : undefined, value: typeof OnBakeBatchFinished === "object" && "value" in OnBakeBatchFinished ? OnBakeBatchFinished === null || OnBakeBatchFinished === void 0 ? void 0 : OnBakeBatchFinished.value : OnBakeBatchFinished, isRaw: typeof OnBakeBatchFinished === "object" && "isRaw" in OnBakeBatchFinished && OnBakeBatchFinished.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.ReflectionProbe]", name: "_probe-ID", id: typeof _probe === "object" && "id" in _probe ? _probe === null || _probe === void 0 ? void 0 : _probe.id : undefined, value: typeof _probe === "object" && "value" in _probe ? _probe === null || _probe === void 0 ? void 0 : _probe.value : _probe, readOnly: true, isRaw: typeof _probe === "object" && "isRaw" in _probe && _probe.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "_isBaking-ID", id: typeof _isBaking === "object" && "id" in _isBaking ? _isBaking === null || _isBaking === void 0 ? void 0 : _isBaking.id : undefined, value: typeof _isBaking === "object" && "value" in _isBaking ? _isBaking === null || _isBaking === void 0 ? void 0 : _isBaking.value : _isBaking, readOnly: true, isRaw: typeof _isBaking === "object" && "isRaw" in _isBaking && _isBaking.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "_probeCount-ID", id: typeof _probeCount === "object" && "id" in _probeCount ? _probeCount === null || _probeCount === void 0 ? void 0 : _probeCount.id : undefined, value: typeof _probeCount === "object" && "value" in _probeCount ? _probeCount === null || _probeCount === void 0 ? void 0 : _probeCount.value : _probeCount, readOnly: true, isRaw: typeof _probeCount === "object" && "isRaw" in _probeCount && _probeCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "_probeIndex-ID", id: typeof _probeIndex === "object" && "id" in _probeIndex ? _probeIndex === null || _probeIndex === void 0 ? void 0 : _probeIndex.id : undefined, value: typeof _probeIndex === "object" && "value" in _probeIndex ? _probeIndex === null || _probeIndex === void 0 ? void 0 : _probeIndex.value : _probeIndex, readOnly: true, isRaw: typeof _probeIndex === "object" && "isRaw" in _probeIndex && _probeIndex.isRaw ? true : undefined })] })));
}
exports.BakeReflectionProbes = BakeReflectionProbes;
;