neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 10.9 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.ReflectionProbe = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function ReflectionProbe(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, ProbeType = props.ProbeType, Importance = props.Importance, Intensity = props.Intensity, BlendDistance = props.BlendDistance, BoxSize = props.BoxSize, BoxProjection = props.BoxProjection, BakedCubemap = props.BakedCubemap, TimeSlicing = props.TimeSlicing, Resolution = props.Resolution, HDR = props.HDR, ShadowDistance = props.ShadowDistance, ClearFlags = props.ClearFlags, BackgroundColor = props.BackgroundColor, NearClip = props.NearClip, FarClip = props.FarClip, ShowDebugVisuals = props.ShowDebugVisuals, _debugVisual = props._debugVisual;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.ReflectionProbe", 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.ReflectionProbe+Type]", name: "ProbeType", id: typeof ProbeType === "object" && "id" in ProbeType ? ProbeType === null || ProbeType === void 0 ? void 0 : ProbeType.id : undefined, value: typeof ProbeType === "object" && "value" in ProbeType ? ProbeType === null || ProbeType === void 0 ? void 0 : ProbeType.value : ProbeType, isRaw: typeof ProbeType === "object" && "isRaw" in ProbeType && ProbeType.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "Importance", id: typeof Importance === "object" && "id" in Importance ? Importance === null || Importance === void 0 ? void 0 : Importance.id : undefined, value: typeof Importance === "object" && "value" in Importance ? Importance === null || Importance === void 0 ? void 0 : Importance.value : Importance, isRaw: typeof Importance === "object" && "isRaw" in Importance && Importance.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Intensity", id: typeof Intensity === "object" && "id" in Intensity ? Intensity === null || Intensity === void 0 ? void 0 : Intensity.id : undefined, value: typeof Intensity === "object" && "value" in Intensity ? Intensity === null || Intensity === void 0 ? void 0 : Intensity.value : Intensity, isRaw: typeof Intensity === "object" && "isRaw" in Intensity && Intensity.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "BlendDistance", id: typeof BlendDistance === "object" && "id" in BlendDistance ? BlendDistance === null || BlendDistance === void 0 ? void 0 : BlendDistance.id : undefined, value: typeof BlendDistance === "object" && "value" in BlendDistance ? BlendDistance === null || BlendDistance === void 0 ? void 0 : BlendDistance.value : BlendDistance, isRaw: typeof BlendDistance === "object" && "isRaw" in BlendDistance && BlendDistance.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "BoxSize", id: typeof BoxSize === "object" && "id" in BoxSize ? BoxSize === null || BoxSize === void 0 ? void 0 : BoxSize.id : undefined, value: typeof BoxSize === "object" && "value" in BoxSize ? BoxSize === null || BoxSize === void 0 ? void 0 : BoxSize.value : BoxSize, isRaw: typeof BoxSize === "object" && "isRaw" in BoxSize && BoxSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "BoxProjection", id: typeof BoxProjection === "object" && "id" in BoxProjection ? BoxProjection === null || BoxProjection === void 0 ? void 0 : BoxProjection.id : undefined, value: typeof BoxProjection === "object" && "value" in BoxProjection ? BoxProjection === null || BoxProjection === void 0 ? void 0 : BoxProjection.value : BoxProjection, isRaw: typeof BoxProjection === "object" && "isRaw" in BoxProjection && BoxProjection.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Cubemap]", name: "BakedCubemap", id: typeof BakedCubemap === "object" && "id" in BakedCubemap ? BakedCubemap === null || BakedCubemap === void 0 ? void 0 : BakedCubemap.id : undefined, value: typeof BakedCubemap === "object" && "value" in BakedCubemap ? BakedCubemap === null || BakedCubemap === void 0 ? void 0 : BakedCubemap.value : BakedCubemap, isRaw: typeof BakedCubemap === "object" && "isRaw" in BakedCubemap && BakedCubemap.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.ReflectionProbe+TimeSlicingMode]", name: "TimeSlicing", id: typeof TimeSlicing === "object" && "id" in TimeSlicing ? TimeSlicing === null || TimeSlicing === void 0 ? void 0 : TimeSlicing.id : undefined, value: typeof TimeSlicing === "object" && "value" in TimeSlicing ? TimeSlicing === null || TimeSlicing === void 0 ? void 0 : TimeSlicing.value : TimeSlicing, isRaw: typeof TimeSlicing === "object" && "isRaw" in TimeSlicing && TimeSlicing.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "Resolution", id: typeof Resolution === "object" && "id" in Resolution ? Resolution === null || Resolution === void 0 ? void 0 : Resolution.id : undefined, value: typeof Resolution === "object" && "value" in Resolution ? Resolution === null || Resolution === void 0 ? void 0 : Resolution.value : Resolution, isRaw: typeof Resolution === "object" && "isRaw" in Resolution && Resolution.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "HDR", id: typeof HDR === "object" && "id" in HDR ? HDR === null || HDR === void 0 ? void 0 : HDR.id : undefined, value: typeof HDR === "object" && "value" in HDR ? HDR === null || HDR === void 0 ? void 0 : HDR.value : HDR, isRaw: typeof HDR === "object" && "isRaw" in HDR && HDR.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "ShadowDistance", id: typeof ShadowDistance === "object" && "id" in ShadowDistance ? ShadowDistance === null || ShadowDistance === void 0 ? void 0 : ShadowDistance.id : undefined, value: typeof ShadowDistance === "object" && "value" in ShadowDistance ? ShadowDistance === null || ShadowDistance === void 0 ? void 0 : ShadowDistance.value : ShadowDistance, isRaw: typeof ShadowDistance === "object" && "isRaw" in ShadowDistance && ShadowDistance.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.ReflectionProbe+Clear]", name: "ClearFlags", id: typeof ClearFlags === "object" && "id" in ClearFlags ? ClearFlags === null || ClearFlags === void 0 ? void 0 : ClearFlags.id : undefined, value: typeof ClearFlags === "object" && "value" in ClearFlags ? ClearFlags === null || ClearFlags === void 0 ? void 0 : ClearFlags.value : ClearFlags, isRaw: typeof ClearFlags === "object" && "isRaw" in ClearFlags && ClearFlags.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "BackgroundColor", id: typeof BackgroundColor === "object" && "id" in BackgroundColor ? BackgroundColor === null || BackgroundColor === void 0 ? void 0 : BackgroundColor.id : undefined, value: typeof BackgroundColor === "object" && "value" in BackgroundColor ? BackgroundColor === null || BackgroundColor === void 0 ? void 0 : BackgroundColor.value : BackgroundColor, isRaw: typeof BackgroundColor === "object" && "isRaw" in BackgroundColor && BackgroundColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "NearClip", id: typeof NearClip === "object" && "id" in NearClip ? NearClip === null || NearClip === void 0 ? void 0 : NearClip.id : undefined, value: typeof NearClip === "object" && "value" in NearClip ? NearClip === null || NearClip === void 0 ? void 0 : NearClip.value : NearClip, isRaw: typeof NearClip === "object" && "isRaw" in NearClip && NearClip.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "FarClip", id: typeof FarClip === "object" && "id" in FarClip ? FarClip === null || FarClip === void 0 ? void 0 : FarClip.id : undefined, value: typeof FarClip === "object" && "value" in FarClip ? FarClip === null || FarClip === void 0 ? void 0 : FarClip.value : FarClip, isRaw: typeof FarClip === "object" && "isRaw" in FarClip && FarClip.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "ShowDebugVisuals-ID", id: typeof ShowDebugVisuals === "object" && "id" in ShowDebugVisuals ? ShowDebugVisuals === null || ShowDebugVisuals === void 0 ? void 0 : ShowDebugVisuals.id : undefined, value: typeof ShowDebugVisuals === "object" && "value" in ShowDebugVisuals ? ShowDebugVisuals === null || ShowDebugVisuals === void 0 ? void 0 : ShowDebugVisuals.value : ShowDebugVisuals, readOnly: true, isRaw: typeof ShowDebugVisuals === "object" && "isRaw" in ShowDebugVisuals && ShowDebugVisuals.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SlotCleanupRef`1[FrooxEngine.Slot]", name: "_debugVisual-ID", id: typeof _debugVisual === "object" && "id" in _debugVisual ? _debugVisual === null || _debugVisual === void 0 ? void 0 : _debugVisual.id : undefined, value: typeof _debugVisual === "object" && "value" in _debugVisual ? _debugVisual === null || _debugVisual === void 0 ? void 0 : _debugVisual.value : _debugVisual, readOnly: true, isRaw: typeof _debugVisual === "object" && "isRaw" in _debugVisual && _debugVisual.isRaw ? true : undefined })] })));
}
exports.ReflectionProbe = ReflectionProbe;
;