neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 5.11 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.DisplayInfo = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function DisplayInfo(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, DisplayIndex = props.DisplayIndex, Resolution = props.Resolution, Offset = props.Offset, DPI = props.DPI, RefreshRate = props.RefreshRate, Orientation = props.Orientation, IsPrimary = props.IsPrimary;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.DisplayInfo", 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.Int32]", name: "DisplayIndex", id: typeof DisplayIndex === "object" && "id" in DisplayIndex ? DisplayIndex === null || DisplayIndex === void 0 ? void 0 : DisplayIndex.id : undefined, value: typeof DisplayIndex === "object" && "value" in DisplayIndex ? DisplayIndex === null || DisplayIndex === void 0 ? void 0 : DisplayIndex.value : DisplayIndex, isRaw: typeof DisplayIndex === "object" && "isRaw" in DisplayIndex && DisplayIndex.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[BaseX.int2]", name: "Resolution", id: typeof Resolution === "object" && "id" in Resolution ? Resolution === null || Resolution === void 0 ? void 0 : Resolution.id : undefined, value: typeof Resolution === "object" && "value" in Resolution ? Resolution === null || Resolution === void 0 ? void 0 : Resolution.value : Resolution, isRaw: typeof Resolution === "object" && "isRaw" in Resolution && Resolution.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[BaseX.int2]", name: "Offset", id: typeof Offset === "object" && "id" in Offset ? Offset === null || Offset === void 0 ? void 0 : Offset.id : undefined, value: typeof Offset === "object" && "value" in Offset ? Offset === null || Offset === void 0 ? void 0 : Offset.value : Offset, isRaw: typeof Offset === "object" && "isRaw" in Offset && Offset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[BaseX.float2]", name: "DPI", id: typeof DPI === "object" && "id" in DPI ? DPI === null || DPI === void 0 ? void 0 : DPI.id : undefined, value: typeof DPI === "object" && "value" in DPI ? DPI === null || DPI === void 0 ? void 0 : DPI.value : DPI, isRaw: typeof DPI === "object" && "isRaw" in DPI && DPI.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Double]", name: "RefreshRate", id: typeof RefreshRate === "object" && "id" in RefreshRate ? RefreshRate === null || RefreshRate === void 0 ? void 0 : RefreshRate.id : undefined, value: typeof RefreshRate === "object" && "value" in RefreshRate ? RefreshRate === null || RefreshRate === void 0 ? void 0 : RefreshRate.value : RefreshRate, isRaw: typeof RefreshRate === "object" && "isRaw" in RefreshRate && RefreshRate.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[BaseX.RectOrientation]", name: "Orientation", id: typeof Orientation === "object" && "id" in Orientation ? Orientation === null || Orientation === void 0 ? void 0 : Orientation.id : undefined, value: typeof Orientation === "object" && "value" in Orientation ? Orientation === null || Orientation === void 0 ? void 0 : Orientation.value : Orientation, isRaw: typeof Orientation === "object" && "isRaw" in Orientation && Orientation.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "IsPrimary", id: typeof IsPrimary === "object" && "id" in IsPrimary ? IsPrimary === null || IsPrimary === void 0 ? void 0 : IsPrimary.id : undefined, value: typeof IsPrimary === "object" && "value" in IsPrimary ? IsPrimary === null || IsPrimary === void 0 ? void 0 : IsPrimary.value : IsPrimary, isRaw: typeof IsPrimary === "object" && "isRaw" in IsPrimary && IsPrimary.isRaw ? true : undefined })] })));
}
exports.DisplayInfo = DisplayInfo;
;