neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 6.53 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.StaticCubemap = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function StaticCubemap(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, URL = props.URL, FilterMode = props.FilterMode, AnisotropicLevel = props.AnisotropicLevel, Uncompressed = props.Uncompressed, DirectLoad = props.DirectLoad, ForceExactVariant = props.ForceExactVariant, PreferredFormat = props.PreferredFormat, MipMapBias = props.MipMapBias, MaxSize = props.MaxSize;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.StaticCubemap", 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.Uri]", name: "URL", id: typeof URL === "object" && "id" in URL ? URL === null || URL === void 0 ? void 0 : URL.id : undefined, value: typeof URL === "object" && "value" in URL ? URL === null || URL === void 0 ? void 0 : URL.value : URL, isRaw: typeof URL === "object" && "isRaw" in URL && URL.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.Boolean]", name: "Uncompressed", id: typeof Uncompressed === "object" && "id" in Uncompressed ? Uncompressed === null || Uncompressed === void 0 ? void 0 : Uncompressed.id : undefined, value: typeof Uncompressed === "object" && "value" in Uncompressed ? Uncompressed === null || Uncompressed === void 0 ? void 0 : Uncompressed.value : Uncompressed, isRaw: typeof Uncompressed === "object" && "isRaw" in Uncompressed && Uncompressed.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "DirectLoad", id: typeof DirectLoad === "object" && "id" in DirectLoad ? DirectLoad === null || DirectLoad === void 0 ? void 0 : DirectLoad.id : undefined, value: typeof DirectLoad === "object" && "value" in DirectLoad ? DirectLoad === null || DirectLoad === void 0 ? void 0 : DirectLoad.value : DirectLoad, isRaw: typeof DirectLoad === "object" && "isRaw" in DirectLoad && DirectLoad.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "ForceExactVariant", id: typeof ForceExactVariant === "object" && "id" in ForceExactVariant ? ForceExactVariant === null || ForceExactVariant === void 0 ? void 0 : ForceExactVariant.id : undefined, value: typeof ForceExactVariant === "object" && "value" in ForceExactVariant ? ForceExactVariant === null || ForceExactVariant === void 0 ? void 0 : ForceExactVariant.value : ForceExactVariant, isRaw: typeof ForceExactVariant === "object" && "isRaw" in ForceExactVariant && ForceExactVariant.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Nullable`1[CodeX.TextureCompression]]", name: "PreferredFormat", id: typeof PreferredFormat === "object" && "id" in PreferredFormat ? PreferredFormat === null || PreferredFormat === void 0 ? void 0 : PreferredFormat.id : undefined, value: typeof PreferredFormat === "object" && "value" in PreferredFormat ? PreferredFormat === null || PreferredFormat === void 0 ? void 0 : PreferredFormat.value : PreferredFormat, isRaw: typeof PreferredFormat === "object" && "isRaw" in PreferredFormat && PreferredFormat.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.Nullable`1[System.Int32]]", name: "MaxSize", id: typeof MaxSize === "object" && "id" in MaxSize ? MaxSize === null || MaxSize === void 0 ? void 0 : MaxSize.id : undefined, value: typeof MaxSize === "object" && "value" in MaxSize ? MaxSize === null || MaxSize === void 0 ? void 0 : MaxSize.value : MaxSize, isRaw: typeof MaxSize === "object" && "isRaw" in MaxSize && MaxSize.isRaw ? true : undefined })] })));
}
exports.StaticCubemap = StaticCubemap;
;