neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 4.83 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.CubemapCreator = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function CubemapCreator(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, TopBottomRotation = props.TopBottomRotation, PosX = props.PosX, NegX = props.NegX, PosY = props.PosY, NegY = props.NegY, PosZ = props.PosZ, NegZ = props.NegZ;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.CubemapCreator", 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[FrooxEngine.CubemapCreator+Rotation]", name: "TopBottomRotation", id: typeof TopBottomRotation === "object" && "id" in TopBottomRotation ? TopBottomRotation === null || TopBottomRotation === void 0 ? void 0 : TopBottomRotation.id : undefined, value: typeof TopBottomRotation === "object" && "value" in TopBottomRotation ? TopBottomRotation === null || TopBottomRotation === void 0 ? void 0 : TopBottomRotation.value : TopBottomRotation, isRaw: typeof TopBottomRotation === "object" && "isRaw" in TopBottomRotation && TopBottomRotation.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Texture2D]", name: "PosX", id: typeof PosX === "object" && "id" in PosX ? PosX === null || PosX === void 0 ? void 0 : PosX.id : undefined, value: typeof PosX === "object" && "value" in PosX ? PosX === null || PosX === void 0 ? void 0 : PosX.value : PosX, isRaw: typeof PosX === "object" && "isRaw" in PosX && PosX.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Texture2D]", name: "NegX", id: typeof NegX === "object" && "id" in NegX ? NegX === null || NegX === void 0 ? void 0 : NegX.id : undefined, value: typeof NegX === "object" && "value" in NegX ? NegX === null || NegX === void 0 ? void 0 : NegX.value : NegX, isRaw: typeof NegX === "object" && "isRaw" in NegX && NegX.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Texture2D]", name: "PosY", id: typeof PosY === "object" && "id" in PosY ? PosY === null || PosY === void 0 ? void 0 : PosY.id : undefined, value: typeof PosY === "object" && "value" in PosY ? PosY === null || PosY === void 0 ? void 0 : PosY.value : PosY, isRaw: typeof PosY === "object" && "isRaw" in PosY && PosY.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Texture2D]", name: "NegY", id: typeof NegY === "object" && "id" in NegY ? NegY === null || NegY === void 0 ? void 0 : NegY.id : undefined, value: typeof NegY === "object" && "value" in NegY ? NegY === null || NegY === void 0 ? void 0 : NegY.value : NegY, isRaw: typeof NegY === "object" && "isRaw" in NegY && NegY.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Texture2D]", name: "PosZ", id: typeof PosZ === "object" && "id" in PosZ ? PosZ === null || PosZ === void 0 ? void 0 : PosZ.id : undefined, value: typeof PosZ === "object" && "value" in PosZ ? PosZ === null || PosZ === void 0 ? void 0 : PosZ.value : PosZ, isRaw: typeof PosZ === "object" && "isRaw" in PosZ && PosZ.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Texture2D]", name: "NegZ", id: typeof NegZ === "object" && "id" in NegZ ? NegZ === null || NegZ === void 0 ? void 0 : NegZ.id : undefined, value: typeof NegZ === "object" && "value" in NegZ ? NegZ === null || NegZ === void 0 ? void 0 : NegZ.value : NegZ, isRaw: typeof NegZ === "object" && "isRaw" in NegZ && NegZ.isRaw ? true : undefined })] })));
}
exports.CubemapCreator = CubemapCreator;
;