neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 12.5 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.CheckerboardCubemap = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function CheckerboardCubemap(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, FilterMode = props.FilterMode, AnisotropicLevel = props.AnisotropicLevel, MipmapBias = props.MipmapBias, Size = props.Size, Mipmaps = props.Mipmaps, Format = props.Format, CheckerSize = props.CheckerSize, PosX_Color0 = props.PosX_Color0, PosX_Color1 = props.PosX_Color1, NegX_Color0 = props.NegX_Color0, NegX_Color1 = props.NegX_Color1, PosY_Color0 = props.PosY_Color0, PosY_Color1 = props.PosY_Color1, NegY_Color0 = props.NegY_Color0, NegY_Color1 = props.NegY_Color1, PosZ_Color0 = props.PosZ_Color0, PosZ_Color1 = props.PosZ_Color1, NegZ_Color0 = props.NegZ_Color0, NegZ_Color1 = props.NegZ_Color1;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.CheckerboardCubemap", 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[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[System.Int32]", name: "Size", id: typeof Size === "object" && "id" in Size ? Size === null || Size === void 0 ? void 0 : Size.id : undefined, value: typeof Size === "object" && "value" in Size ? Size === null || Size === void 0 ? void 0 : Size.value : Size, isRaw: typeof Size === "object" && "isRaw" in Size && Size.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "Mipmaps", id: typeof Mipmaps === "object" && "id" in Mipmaps ? Mipmaps === null || Mipmaps === void 0 ? void 0 : Mipmaps.id : undefined, value: typeof Mipmaps === "object" && "value" in Mipmaps ? Mipmaps === null || Mipmaps === void 0 ? void 0 : Mipmaps.value : Mipmaps, isRaw: typeof Mipmaps === "object" && "isRaw" in Mipmaps && Mipmaps.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.Int32]", name: "CheckerSize", id: typeof CheckerSize === "object" && "id" in CheckerSize ? CheckerSize === null || CheckerSize === void 0 ? void 0 : CheckerSize.id : undefined, value: typeof CheckerSize === "object" && "value" in CheckerSize ? CheckerSize === null || CheckerSize === void 0 ? void 0 : CheckerSize.value : CheckerSize, isRaw: typeof CheckerSize === "object" && "isRaw" in CheckerSize && CheckerSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "PosX_Color0", id: typeof PosX_Color0 === "object" && "id" in PosX_Color0 ? PosX_Color0 === null || PosX_Color0 === void 0 ? void 0 : PosX_Color0.id : undefined, value: typeof PosX_Color0 === "object" && "value" in PosX_Color0 ? PosX_Color0 === null || PosX_Color0 === void 0 ? void 0 : PosX_Color0.value : PosX_Color0, isRaw: typeof PosX_Color0 === "object" && "isRaw" in PosX_Color0 && PosX_Color0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "PosX_Color1", id: typeof PosX_Color1 === "object" && "id" in PosX_Color1 ? PosX_Color1 === null || PosX_Color1 === void 0 ? void 0 : PosX_Color1.id : undefined, value: typeof PosX_Color1 === "object" && "value" in PosX_Color1 ? PosX_Color1 === null || PosX_Color1 === void 0 ? void 0 : PosX_Color1.value : PosX_Color1, isRaw: typeof PosX_Color1 === "object" && "isRaw" in PosX_Color1 && PosX_Color1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "NegX_Color0", id: typeof NegX_Color0 === "object" && "id" in NegX_Color0 ? NegX_Color0 === null || NegX_Color0 === void 0 ? void 0 : NegX_Color0.id : undefined, value: typeof NegX_Color0 === "object" && "value" in NegX_Color0 ? NegX_Color0 === null || NegX_Color0 === void 0 ? void 0 : NegX_Color0.value : NegX_Color0, isRaw: typeof NegX_Color0 === "object" && "isRaw" in NegX_Color0 && NegX_Color0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "NegX_Color1", id: typeof NegX_Color1 === "object" && "id" in NegX_Color1 ? NegX_Color1 === null || NegX_Color1 === void 0 ? void 0 : NegX_Color1.id : undefined, value: typeof NegX_Color1 === "object" && "value" in NegX_Color1 ? NegX_Color1 === null || NegX_Color1 === void 0 ? void 0 : NegX_Color1.value : NegX_Color1, isRaw: typeof NegX_Color1 === "object" && "isRaw" in NegX_Color1 && NegX_Color1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "PosY_Color0", id: typeof PosY_Color0 === "object" && "id" in PosY_Color0 ? PosY_Color0 === null || PosY_Color0 === void 0 ? void 0 : PosY_Color0.id : undefined, value: typeof PosY_Color0 === "object" && "value" in PosY_Color0 ? PosY_Color0 === null || PosY_Color0 === void 0 ? void 0 : PosY_Color0.value : PosY_Color0, isRaw: typeof PosY_Color0 === "object" && "isRaw" in PosY_Color0 && PosY_Color0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "PosY_Color1", id: typeof PosY_Color1 === "object" && "id" in PosY_Color1 ? PosY_Color1 === null || PosY_Color1 === void 0 ? void 0 : PosY_Color1.id : undefined, value: typeof PosY_Color1 === "object" && "value" in PosY_Color1 ? PosY_Color1 === null || PosY_Color1 === void 0 ? void 0 : PosY_Color1.value : PosY_Color1, isRaw: typeof PosY_Color1 === "object" && "isRaw" in PosY_Color1 && PosY_Color1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "NegY_Color0", id: typeof NegY_Color0 === "object" && "id" in NegY_Color0 ? NegY_Color0 === null || NegY_Color0 === void 0 ? void 0 : NegY_Color0.id : undefined, value: typeof NegY_Color0 === "object" && "value" in NegY_Color0 ? NegY_Color0 === null || NegY_Color0 === void 0 ? void 0 : NegY_Color0.value : NegY_Color0, isRaw: typeof NegY_Color0 === "object" && "isRaw" in NegY_Color0 && NegY_Color0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "NegY_Color1", id: typeof NegY_Color1 === "object" && "id" in NegY_Color1 ? NegY_Color1 === null || NegY_Color1 === void 0 ? void 0 : NegY_Color1.id : undefined, value: typeof NegY_Color1 === "object" && "value" in NegY_Color1 ? NegY_Color1 === null || NegY_Color1 === void 0 ? void 0 : NegY_Color1.value : NegY_Color1, isRaw: typeof NegY_Color1 === "object" && "isRaw" in NegY_Color1 && NegY_Color1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "PosZ_Color0", id: typeof PosZ_Color0 === "object" && "id" in PosZ_Color0 ? PosZ_Color0 === null || PosZ_Color0 === void 0 ? void 0 : PosZ_Color0.id : undefined, value: typeof PosZ_Color0 === "object" && "value" in PosZ_Color0 ? PosZ_Color0 === null || PosZ_Color0 === void 0 ? void 0 : PosZ_Color0.value : PosZ_Color0, isRaw: typeof PosZ_Color0 === "object" && "isRaw" in PosZ_Color0 && PosZ_Color0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "PosZ_Color1", id: typeof PosZ_Color1 === "object" && "id" in PosZ_Color1 ? PosZ_Color1 === null || PosZ_Color1 === void 0 ? void 0 : PosZ_Color1.id : undefined, value: typeof PosZ_Color1 === "object" && "value" in PosZ_Color1 ? PosZ_Color1 === null || PosZ_Color1 === void 0 ? void 0 : PosZ_Color1.value : PosZ_Color1, isRaw: typeof PosZ_Color1 === "object" && "isRaw" in PosZ_Color1 && PosZ_Color1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "NegZ_Color0", id: typeof NegZ_Color0 === "object" && "id" in NegZ_Color0 ? NegZ_Color0 === null || NegZ_Color0 === void 0 ? void 0 : NegZ_Color0.id : undefined, value: typeof NegZ_Color0 === "object" && "value" in NegZ_Color0 ? NegZ_Color0 === null || NegZ_Color0 === void 0 ? void 0 : NegZ_Color0.value : NegZ_Color0, isRaw: typeof NegZ_Color0 === "object" && "isRaw" in NegZ_Color0 && NegZ_Color0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "NegZ_Color1", id: typeof NegZ_Color1 === "object" && "id" in NegZ_Color1 ? NegZ_Color1 === null || NegZ_Color1 === void 0 ? void 0 : NegZ_Color1.id : undefined, value: typeof NegZ_Color1 === "object" && "value" in NegZ_Color1 ? NegZ_Color1 === null || NegZ_Color1 === void 0 ? void 0 : NegZ_Color1.value : NegZ_Color1, isRaw: typeof NegZ_Color1 === "object" && "isRaw" in NegZ_Color1 && NegZ_Color1.isRaw ? true : undefined })] })));
}
exports.CheckerboardCubemap = CheckerboardCubemap;
;