neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 6.94 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.ProjectionSkyboxTemplate = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function ProjectionSkyboxTemplate(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Name = props.Name, ThumbnailTex = props.ThumbnailTex, SunEnabled = props.SunEnabled, SunDirection = props.SunDirection, SunIntensity = props.SunIntensity, SunColor = props.SunColor, SunShadowIntensity = props.SunShadowIntensity, MaxIntensity = props.MaxIntensity, Texture = props.Texture, Exposure = props.Exposure;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.ProjectionSkyboxTemplate", 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.String]", name: "Name", id: typeof Name === "object" && "id" in Name ? Name === null || Name === void 0 ? void 0 : Name.id : undefined, value: typeof Name === "object" && "value" in Name ? Name === null || Name === void 0 ? void 0 : Name.value : Name, isRaw: typeof Name === "object" && "isRaw" in Name && Name.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Uri]", name: "ThumbnailTex", id: typeof ThumbnailTex === "object" && "id" in ThumbnailTex ? ThumbnailTex === null || ThumbnailTex === void 0 ? void 0 : ThumbnailTex.id : undefined, value: typeof ThumbnailTex === "object" && "value" in ThumbnailTex ? ThumbnailTex === null || ThumbnailTex === void 0 ? void 0 : ThumbnailTex.value : ThumbnailTex, isRaw: typeof ThumbnailTex === "object" && "isRaw" in ThumbnailTex && ThumbnailTex.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "SunEnabled", id: typeof SunEnabled === "object" && "id" in SunEnabled ? SunEnabled === null || SunEnabled === void 0 ? void 0 : SunEnabled.id : undefined, value: typeof SunEnabled === "object" && "value" in SunEnabled ? SunEnabled === null || SunEnabled === void 0 ? void 0 : SunEnabled.value : SunEnabled, isRaw: typeof SunEnabled === "object" && "isRaw" in SunEnabled && SunEnabled.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "SunDirection", id: typeof SunDirection === "object" && "id" in SunDirection ? SunDirection === null || SunDirection === void 0 ? void 0 : SunDirection.id : undefined, value: typeof SunDirection === "object" && "value" in SunDirection ? SunDirection === null || SunDirection === void 0 ? void 0 : SunDirection.value : SunDirection, isRaw: typeof SunDirection === "object" && "isRaw" in SunDirection && SunDirection.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "SunIntensity", id: typeof SunIntensity === "object" && "id" in SunIntensity ? SunIntensity === null || SunIntensity === void 0 ? void 0 : SunIntensity.id : undefined, value: typeof SunIntensity === "object" && "value" in SunIntensity ? SunIntensity === null || SunIntensity === void 0 ? void 0 : SunIntensity.value : SunIntensity, isRaw: typeof SunIntensity === "object" && "isRaw" in SunIntensity && SunIntensity.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "SunColor", id: typeof SunColor === "object" && "id" in SunColor ? SunColor === null || SunColor === void 0 ? void 0 : SunColor.id : undefined, value: typeof SunColor === "object" && "value" in SunColor ? SunColor === null || SunColor === void 0 ? void 0 : SunColor.value : SunColor, isRaw: typeof SunColor === "object" && "isRaw" in SunColor && SunColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "SunShadowIntensity", id: typeof SunShadowIntensity === "object" && "id" in SunShadowIntensity ? SunShadowIntensity === null || SunShadowIntensity === void 0 ? void 0 : SunShadowIntensity.id : undefined, value: typeof SunShadowIntensity === "object" && "value" in SunShadowIntensity ? SunShadowIntensity === null || SunShadowIntensity === void 0 ? void 0 : SunShadowIntensity.value : SunShadowIntensity, isRaw: typeof SunShadowIntensity === "object" && "isRaw" in SunShadowIntensity && SunShadowIntensity.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Nullable`1[System.Single]]", name: "MaxIntensity", id: typeof MaxIntensity === "object" && "id" in MaxIntensity ? MaxIntensity === null || MaxIntensity === void 0 ? void 0 : MaxIntensity.id : undefined, value: typeof MaxIntensity === "object" && "value" in MaxIntensity ? MaxIntensity === null || MaxIntensity === void 0 ? void 0 : MaxIntensity.value : MaxIntensity, isRaw: typeof MaxIntensity === "object" && "isRaw" in MaxIntensity && MaxIntensity.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Uri]", name: "Texture", id: typeof Texture === "object" && "id" in Texture ? Texture === null || Texture === void 0 ? void 0 : Texture.id : undefined, value: typeof Texture === "object" && "value" in Texture ? Texture === null || Texture === void 0 ? void 0 : Texture.value : Texture, isRaw: typeof Texture === "object" && "isRaw" in Texture && Texture.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Exposure", id: typeof Exposure === "object" && "id" in Exposure ? Exposure === null || Exposure === void 0 ? void 0 : Exposure.id : undefined, value: typeof Exposure === "object" && "value" in Exposure ? Exposure === null || Exposure === void 0 ? void 0 : Exposure.value : Exposure, isRaw: typeof Exposure === "object" && "isRaw" in Exposure && Exposure.isRaw ? true : undefined })] })));
}
exports.ProjectionSkyboxTemplate = ProjectionSkyboxTemplate;
;