neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 7.02 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.VolumePlaneSlicer = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function VolumePlaneSlicer(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Mode = props.Mode, HighlightColor = props.HighlightColor, HighlightRange = props.HighlightRange, _offItem = props._offItem, _sliceItem = props._sliceItem, _highlightItem = props._highlightItem, _colorItem = props._colorItem, _arc = props._arc, _colorDialog = props._colorDialog, _grabGrid = props._grabGrid;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.VolumePlaneSlicer", 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[FrooxEngine.VolumePlaneMode]", 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[BaseX.color]", name: "HighlightColor", id: typeof HighlightColor === "object" && "id" in HighlightColor ? HighlightColor === null || HighlightColor === void 0 ? void 0 : HighlightColor.id : undefined, value: typeof HighlightColor === "object" && "value" in HighlightColor ? HighlightColor === null || HighlightColor === void 0 ? void 0 : HighlightColor.value : HighlightColor, isRaw: typeof HighlightColor === "object" && "isRaw" in HighlightColor && HighlightColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "HighlightRange", id: typeof HighlightRange === "object" && "id" in HighlightRange ? HighlightRange === null || HighlightRange === void 0 ? void 0 : HighlightRange.id : undefined, value: typeof HighlightRange === "object" && "value" in HighlightRange ? HighlightRange === null || HighlightRange === void 0 ? void 0 : HighlightRange.value : HighlightRange, isRaw: typeof HighlightRange === "object" && "isRaw" in HighlightRange && HighlightRange.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.NeosLogoMenuController+Item]", name: "_offItem", id: typeof _offItem === "object" && "id" in _offItem ? _offItem === null || _offItem === void 0 ? void 0 : _offItem.id : undefined, value: typeof _offItem === "object" && "value" in _offItem ? _offItem === null || _offItem === void 0 ? void 0 : _offItem.value : _offItem, isRaw: typeof _offItem === "object" && "isRaw" in _offItem && _offItem.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.NeosLogoMenuController+Item]", name: "_sliceItem", id: typeof _sliceItem === "object" && "id" in _sliceItem ? _sliceItem === null || _sliceItem === void 0 ? void 0 : _sliceItem.id : undefined, value: typeof _sliceItem === "object" && "value" in _sliceItem ? _sliceItem === null || _sliceItem === void 0 ? void 0 : _sliceItem.value : _sliceItem, isRaw: typeof _sliceItem === "object" && "isRaw" in _sliceItem && _sliceItem.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.NeosLogoMenuController+Item]", name: "_highlightItem", id: typeof _highlightItem === "object" && "id" in _highlightItem ? _highlightItem === null || _highlightItem === void 0 ? void 0 : _highlightItem.id : undefined, value: typeof _highlightItem === "object" && "value" in _highlightItem ? _highlightItem === null || _highlightItem === void 0 ? void 0 : _highlightItem.value : _highlightItem, isRaw: typeof _highlightItem === "object" && "isRaw" in _highlightItem && _highlightItem.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.NeosLogoMenuController+Item]", name: "_colorItem", id: typeof _colorItem === "object" && "id" in _colorItem ? _colorItem === null || _colorItem === void 0 ? void 0 : _colorItem.id : undefined, value: typeof _colorItem === "object" && "value" in _colorItem ? _colorItem === null || _colorItem === void 0 ? void 0 : _colorItem.value : _colorItem, isRaw: typeof _colorItem === "object" && "isRaw" in _colorItem && _colorItem.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.NeosLogoMenuController+ItemsArc]", name: "_arc", id: typeof _arc === "object" && "id" in _arc ? _arc === null || _arc === void 0 ? void 0 : _arc.id : undefined, value: typeof _arc === "object" && "value" in _arc ? _arc === null || _arc === void 0 ? void 0 : _arc.value : _arc, isRaw: typeof _arc === "object" && "isRaw" in _arc && _arc.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SlotCleanupRef`1[FrooxEngine.NeosColorDialog]", name: "_colorDialog", id: typeof _colorDialog === "object" && "id" in _colorDialog ? _colorDialog === null || _colorDialog === void 0 ? void 0 : _colorDialog.id : undefined, value: typeof _colorDialog === "object" && "value" in _colorDialog ? _colorDialog === null || _colorDialog === void 0 ? void 0 : _colorDialog.value : _colorDialog, isRaw: typeof _colorDialog === "object" && "isRaw" in _colorDialog && _colorDialog.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_grabGrid", id: typeof _grabGrid === "object" && "id" in _grabGrid ? _grabGrid === null || _grabGrid === void 0 ? void 0 : _grabGrid.id : undefined, value: typeof _grabGrid === "object" && "value" in _grabGrid ? _grabGrid === null || _grabGrid === void 0 ? void 0 : _grabGrid.value : _grabGrid, isRaw: typeof _grabGrid === "object" && "isRaw" in _grabGrid && _grabGrid.isRaw ? true : undefined })] })));
}
exports.VolumePlaneSlicer = VolumePlaneSlicer;
;