neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 5.98 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.CubemapAssetMetadata = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function CubemapAssetMetadata(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Cubemap = props.Cubemap, Size = props.Size, HasMipMaps = props.HasMipMaps, MipMapCount = props.MipMapCount, MemoryBytes = props.MemoryBytes, FormattedMemoryBytes = props.FormattedMemoryBytes, Format = props.Format, ActualLoadedVariant = props.ActualLoadedVariant;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.CubemapAssetMetadata", 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.AssetRef`1[FrooxEngine.Cubemap]", name: "Cubemap", id: typeof Cubemap === "object" && "id" in Cubemap ? Cubemap === null || Cubemap === void 0 ? void 0 : Cubemap.id : undefined, value: typeof Cubemap === "object" && "value" in Cubemap ? Cubemap === null || Cubemap === void 0 ? void 0 : Cubemap.value : Cubemap, isRaw: typeof Cubemap === "object" && "isRaw" in Cubemap && Cubemap.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`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.RawOutput`1[System.Boolean]", name: "HasMipMaps", id: typeof HasMipMaps === "object" && "id" in HasMipMaps ? HasMipMaps === null || HasMipMaps === void 0 ? void 0 : HasMipMaps.id : undefined, value: typeof HasMipMaps === "object" && "value" in HasMipMaps ? HasMipMaps === null || HasMipMaps === void 0 ? void 0 : HasMipMaps.value : HasMipMaps, isRaw: typeof HasMipMaps === "object" && "isRaw" in HasMipMaps && HasMipMaps.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "MipMapCount", id: typeof MipMapCount === "object" && "id" in MipMapCount ? MipMapCount === null || MipMapCount === void 0 ? void 0 : MipMapCount.id : undefined, value: typeof MipMapCount === "object" && "value" in MipMapCount ? MipMapCount === null || MipMapCount === void 0 ? void 0 : MipMapCount.value : MipMapCount, isRaw: typeof MipMapCount === "object" && "isRaw" in MipMapCount && MipMapCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int64]", name: "MemoryBytes", id: typeof MemoryBytes === "object" && "id" in MemoryBytes ? MemoryBytes === null || MemoryBytes === void 0 ? void 0 : MemoryBytes.id : undefined, value: typeof MemoryBytes === "object" && "value" in MemoryBytes ? MemoryBytes === null || MemoryBytes === void 0 ? void 0 : MemoryBytes.value : MemoryBytes, isRaw: typeof MemoryBytes === "object" && "isRaw" in MemoryBytes && MemoryBytes.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.String]", name: "FormattedMemoryBytes", id: typeof FormattedMemoryBytes === "object" && "id" in FormattedMemoryBytes ? FormattedMemoryBytes === null || FormattedMemoryBytes === void 0 ? void 0 : FormattedMemoryBytes.id : undefined, value: typeof FormattedMemoryBytes === "object" && "value" in FormattedMemoryBytes ? FormattedMemoryBytes === null || FormattedMemoryBytes === void 0 ? void 0 : FormattedMemoryBytes.value : FormattedMemoryBytes, isRaw: typeof FormattedMemoryBytes === "object" && "isRaw" in FormattedMemoryBytes && FormattedMemoryBytes.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`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.RawOutput`1[System.String]", name: "ActualLoadedVariant", id: typeof ActualLoadedVariant === "object" && "id" in ActualLoadedVariant ? ActualLoadedVariant === null || ActualLoadedVariant === void 0 ? void 0 : ActualLoadedVariant.id : undefined, value: typeof ActualLoadedVariant === "object" && "value" in ActualLoadedVariant ? ActualLoadedVariant === null || ActualLoadedVariant === void 0 ? void 0 : ActualLoadedVariant.value : ActualLoadedVariant, isRaw: typeof ActualLoadedVariant === "object" && "isRaw" in ActualLoadedVariant && ActualLoadedVariant.isRaw ? true : undefined })] })));
}
exports.CubemapAssetMetadata = CubemapAssetMetadata;
;