neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 7.46 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.StringQRCodeTexture = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function StringQRCodeTexture(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, FilterMode = props.FilterMode, AnisotropicLevel = props.AnisotropicLevel, WrapModeU = props.WrapModeU, WrapModeV = props.WrapModeV, MipmapBias = props.MipmapBias, Format = props.Format, Payload = props.Payload, ECCLevel = props.ECCLevel, Color0 = props.Color0, Color1 = props.Color1;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.StringQRCodeTexture", 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[FrooxEngine.TextureFilterMode]", name: "FilterMode", id: typeof FilterMode === "object" && "id" in FilterMode ? FilterMode === null || FilterMode === void 0 ? void 0 : FilterMode.id : undefined, value: typeof FilterMode === "object" && "value" in FilterMode ? FilterMode === null || FilterMode === void 0 ? void 0 : FilterMode.value : FilterMode, isRaw: typeof FilterMode === "object" && "isRaw" in FilterMode && FilterMode.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "AnisotropicLevel", id: typeof AnisotropicLevel === "object" && "id" in AnisotropicLevel ? AnisotropicLevel === null || AnisotropicLevel === void 0 ? void 0 : AnisotropicLevel.id : undefined, value: typeof AnisotropicLevel === "object" && "value" in AnisotropicLevel ? AnisotropicLevel === null || AnisotropicLevel === void 0 ? void 0 : AnisotropicLevel.value : AnisotropicLevel, isRaw: typeof AnisotropicLevel === "object" && "isRaw" in AnisotropicLevel && AnisotropicLevel.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.TextureWrapMode]", name: "WrapModeU", id: typeof WrapModeU === "object" && "id" in WrapModeU ? WrapModeU === null || WrapModeU === void 0 ? void 0 : WrapModeU.id : undefined, value: typeof WrapModeU === "object" && "value" in WrapModeU ? WrapModeU === null || WrapModeU === void 0 ? void 0 : WrapModeU.value : WrapModeU, isRaw: typeof WrapModeU === "object" && "isRaw" in WrapModeU && WrapModeU.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.TextureWrapMode]", name: "WrapModeV", id: typeof WrapModeV === "object" && "id" in WrapModeV ? WrapModeV === null || WrapModeV === void 0 ? void 0 : WrapModeV.id : undefined, value: typeof WrapModeV === "object" && "value" in WrapModeV ? WrapModeV === null || WrapModeV === void 0 ? void 0 : WrapModeV.value : WrapModeV, isRaw: typeof WrapModeV === "object" && "isRaw" in WrapModeV && WrapModeV.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "MipmapBias", id: typeof MipmapBias === "object" && "id" in MipmapBias ? MipmapBias === null || MipmapBias === void 0 ? void 0 : MipmapBias.id : undefined, value: typeof MipmapBias === "object" && "value" in MipmapBias ? MipmapBias === null || MipmapBias === void 0 ? void 0 : MipmapBias.value : MipmapBias, isRaw: typeof MipmapBias === "object" && "isRaw" in MipmapBias && MipmapBias.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[CodeX.TextureFormat]", name: "Format", id: typeof Format === "object" && "id" in Format ? Format === null || Format === void 0 ? void 0 : Format.id : undefined, value: typeof Format === "object" && "value" in Format ? Format === null || Format === void 0 ? void 0 : Format.value : Format, isRaw: typeof Format === "object" && "isRaw" in Format && Format.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "Payload", id: typeof Payload === "object" && "id" in Payload ? Payload === null || Payload === void 0 ? void 0 : Payload.id : undefined, value: typeof Payload === "object" && "value" in Payload ? Payload === null || Payload === void 0 ? void 0 : Payload.value : Payload, isRaw: typeof Payload === "object" && "isRaw" in Payload && Payload.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[QRCoder.QRCodeGenerator+ECCLevel]", name: "ECCLevel", id: typeof ECCLevel === "object" && "id" in ECCLevel ? ECCLevel === null || ECCLevel === void 0 ? void 0 : ECCLevel.id : undefined, value: typeof ECCLevel === "object" && "value" in ECCLevel ? ECCLevel === null || ECCLevel === void 0 ? void 0 : ECCLevel.value : ECCLevel, isRaw: typeof ECCLevel === "object" && "isRaw" in ECCLevel && ECCLevel.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "Color0", id: typeof Color0 === "object" && "id" in Color0 ? Color0 === null || Color0 === void 0 ? void 0 : Color0.id : undefined, value: typeof Color0 === "object" && "value" in Color0 ? Color0 === null || Color0 === void 0 ? void 0 : Color0.value : Color0, isRaw: typeof Color0 === "object" && "isRaw" in Color0 && Color0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "Color1", id: typeof Color1 === "object" && "id" in Color1 ? Color1 === null || Color1 === void 0 ? void 0 : Color1.id : undefined, value: typeof Color1 === "object" && "value" in Color1 ? Color1 === null || Color1 === void 0 ? void 0 : Color1.value : Color1, isRaw: typeof Color1 === "object" && "isRaw" in Color1 && Color1.isRaw ? true : undefined })] })));
}
exports.StringQRCodeTexture = StringQRCodeTexture;
;