neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 13.4 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.WireframeMaterial = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../../core");
function WireframeMaterial(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, Thickness = props.Thickness, ScreenSpace = props.ScreenSpace, LineColor = props.LineColor, FillColor = props.FillColor, InnerLineColor = props.InnerLineColor, InnerFillColor = props.InnerFillColor, UseFresnel = props.UseFresnel, LineFarColor = props.LineFarColor, FillFarColor = props.FillFarColor, InnerLineFarColor = props.InnerLineFarColor, InnerFillFarColor = props.InnerFillFarColor, Exp = props.Exp, Texture = props.Texture, ZWrite = props.ZWrite, DoubleSided = props.DoubleSided, OffsetFactor = props.OffsetFactor, OffsetUnits = props.OffsetUnits, RenderQueue = props.RenderQueue, _regular = props._regular, _regularDoubleSided = props._regularDoubleSided;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.WireframeMaterial", 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.Boolean]", name: "HighPriorityIntegration", id: typeof HighPriorityIntegration === "object" && "id" in HighPriorityIntegration ? HighPriorityIntegration === null || HighPriorityIntegration === void 0 ? void 0 : HighPriorityIntegration.id : undefined, value: typeof HighPriorityIntegration === "object" && "value" in HighPriorityIntegration ? HighPriorityIntegration === null || HighPriorityIntegration === void 0 ? void 0 : HighPriorityIntegration.value : HighPriorityIntegration, isRaw: typeof HighPriorityIntegration === "object" && "isRaw" in HighPriorityIntegration && HighPriorityIntegration.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Thickness", id: typeof Thickness === "object" && "id" in Thickness ? Thickness === null || Thickness === void 0 ? void 0 : Thickness.id : undefined, value: typeof Thickness === "object" && "value" in Thickness ? Thickness === null || Thickness === void 0 ? void 0 : Thickness.value : Thickness, isRaw: typeof Thickness === "object" && "isRaw" in Thickness && Thickness.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "ScreenSpace", id: typeof ScreenSpace === "object" && "id" in ScreenSpace ? ScreenSpace === null || ScreenSpace === void 0 ? void 0 : ScreenSpace.id : undefined, value: typeof ScreenSpace === "object" && "value" in ScreenSpace ? ScreenSpace === null || ScreenSpace === void 0 ? void 0 : ScreenSpace.value : ScreenSpace, isRaw: typeof ScreenSpace === "object" && "isRaw" in ScreenSpace && ScreenSpace.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "LineColor", id: typeof LineColor === "object" && "id" in LineColor ? LineColor === null || LineColor === void 0 ? void 0 : LineColor.id : undefined, value: typeof LineColor === "object" && "value" in LineColor ? LineColor === null || LineColor === void 0 ? void 0 : LineColor.value : LineColor, isRaw: typeof LineColor === "object" && "isRaw" in LineColor && LineColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "FillColor", id: typeof FillColor === "object" && "id" in FillColor ? FillColor === null || FillColor === void 0 ? void 0 : FillColor.id : undefined, value: typeof FillColor === "object" && "value" in FillColor ? FillColor === null || FillColor === void 0 ? void 0 : FillColor.value : FillColor, isRaw: typeof FillColor === "object" && "isRaw" in FillColor && FillColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "InnerLineColor", id: typeof InnerLineColor === "object" && "id" in InnerLineColor ? InnerLineColor === null || InnerLineColor === void 0 ? void 0 : InnerLineColor.id : undefined, value: typeof InnerLineColor === "object" && "value" in InnerLineColor ? InnerLineColor === null || InnerLineColor === void 0 ? void 0 : InnerLineColor.value : InnerLineColor, isRaw: typeof InnerLineColor === "object" && "isRaw" in InnerLineColor && InnerLineColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "InnerFillColor", id: typeof InnerFillColor === "object" && "id" in InnerFillColor ? InnerFillColor === null || InnerFillColor === void 0 ? void 0 : InnerFillColor.id : undefined, value: typeof InnerFillColor === "object" && "value" in InnerFillColor ? InnerFillColor === null || InnerFillColor === void 0 ? void 0 : InnerFillColor.value : InnerFillColor, isRaw: typeof InnerFillColor === "object" && "isRaw" in InnerFillColor && InnerFillColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "UseFresnel", id: typeof UseFresnel === "object" && "id" in UseFresnel ? UseFresnel === null || UseFresnel === void 0 ? void 0 : UseFresnel.id : undefined, value: typeof UseFresnel === "object" && "value" in UseFresnel ? UseFresnel === null || UseFresnel === void 0 ? void 0 : UseFresnel.value : UseFresnel, isRaw: typeof UseFresnel === "object" && "isRaw" in UseFresnel && UseFresnel.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "LineFarColor", id: typeof LineFarColor === "object" && "id" in LineFarColor ? LineFarColor === null || LineFarColor === void 0 ? void 0 : LineFarColor.id : undefined, value: typeof LineFarColor === "object" && "value" in LineFarColor ? LineFarColor === null || LineFarColor === void 0 ? void 0 : LineFarColor.value : LineFarColor, isRaw: typeof LineFarColor === "object" && "isRaw" in LineFarColor && LineFarColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "FillFarColor", id: typeof FillFarColor === "object" && "id" in FillFarColor ? FillFarColor === null || FillFarColor === void 0 ? void 0 : FillFarColor.id : undefined, value: typeof FillFarColor === "object" && "value" in FillFarColor ? FillFarColor === null || FillFarColor === void 0 ? void 0 : FillFarColor.value : FillFarColor, isRaw: typeof FillFarColor === "object" && "isRaw" in FillFarColor && FillFarColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "InnerLineFarColor", id: typeof InnerLineFarColor === "object" && "id" in InnerLineFarColor ? InnerLineFarColor === null || InnerLineFarColor === void 0 ? void 0 : InnerLineFarColor.id : undefined, value: typeof InnerLineFarColor === "object" && "value" in InnerLineFarColor ? InnerLineFarColor === null || InnerLineFarColor === void 0 ? void 0 : InnerLineFarColor.value : InnerLineFarColor, isRaw: typeof InnerLineFarColor === "object" && "isRaw" in InnerLineFarColor && InnerLineFarColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "InnerFillFarColor", id: typeof InnerFillFarColor === "object" && "id" in InnerFillFarColor ? InnerFillFarColor === null || InnerFillFarColor === void 0 ? void 0 : InnerFillFarColor.id : undefined, value: typeof InnerFillFarColor === "object" && "value" in InnerFillFarColor ? InnerFillFarColor === null || InnerFillFarColor === void 0 ? void 0 : InnerFillFarColor.value : InnerFillFarColor, isRaw: typeof InnerFillFarColor === "object" && "isRaw" in InnerFillFarColor && InnerFillFarColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Exp", id: typeof Exp === "object" && "id" in Exp ? Exp === null || Exp === void 0 ? void 0 : Exp.id : undefined, value: typeof Exp === "object" && "value" in Exp ? Exp === null || Exp === void 0 ? void 0 : Exp.value : Exp, isRaw: typeof Exp === "object" && "isRaw" in Exp && Exp.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.ITexture2D]", 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[FrooxEngine.ZWrite]", name: "ZWrite", id: typeof ZWrite === "object" && "id" in ZWrite ? ZWrite === null || ZWrite === void 0 ? void 0 : ZWrite.id : undefined, value: typeof ZWrite === "object" && "value" in ZWrite ? ZWrite === null || ZWrite === void 0 ? void 0 : ZWrite.value : ZWrite, isRaw: typeof ZWrite === "object" && "isRaw" in ZWrite && ZWrite.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "DoubleSided", id: typeof DoubleSided === "object" && "id" in DoubleSided ? DoubleSided === null || DoubleSided === void 0 ? void 0 : DoubleSided.id : undefined, value: typeof DoubleSided === "object" && "value" in DoubleSided ? DoubleSided === null || DoubleSided === void 0 ? void 0 : DoubleSided.value : DoubleSided, isRaw: typeof DoubleSided === "object" && "isRaw" in DoubleSided && DoubleSided.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "OffsetFactor", id: typeof OffsetFactor === "object" && "id" in OffsetFactor ? OffsetFactor === null || OffsetFactor === void 0 ? void 0 : OffsetFactor.id : undefined, value: typeof OffsetFactor === "object" && "value" in OffsetFactor ? OffsetFactor === null || OffsetFactor === void 0 ? void 0 : OffsetFactor.value : OffsetFactor, isRaw: typeof OffsetFactor === "object" && "isRaw" in OffsetFactor && OffsetFactor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "OffsetUnits", id: typeof OffsetUnits === "object" && "id" in OffsetUnits ? OffsetUnits === null || OffsetUnits === void 0 ? void 0 : OffsetUnits.id : undefined, value: typeof OffsetUnits === "object" && "value" in OffsetUnits ? OffsetUnits === null || OffsetUnits === void 0 ? void 0 : OffsetUnits.value : OffsetUnits, isRaw: typeof OffsetUnits === "object" && "isRaw" in OffsetUnits && OffsetUnits.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "RenderQueue", id: typeof RenderQueue === "object" && "id" in RenderQueue ? RenderQueue === null || RenderQueue === void 0 ? void 0 : RenderQueue.id : undefined, value: typeof RenderQueue === "object" && "value" in RenderQueue ? RenderQueue === null || RenderQueue === void 0 ? void 0 : RenderQueue.value : RenderQueue, isRaw: typeof RenderQueue === "object" && "isRaw" in RenderQueue && RenderQueue.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Shader]", name: "_regular-ID", id: typeof _regular === "object" && "id" in _regular ? _regular === null || _regular === void 0 ? void 0 : _regular.id : undefined, value: typeof _regular === "object" && "value" in _regular ? _regular === null || _regular === void 0 ? void 0 : _regular.value : _regular, readOnly: true, isRaw: typeof _regular === "object" && "isRaw" in _regular && _regular.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Shader]", name: "_regularDoubleSided-ID", id: typeof _regularDoubleSided === "object" && "id" in _regularDoubleSided ? _regularDoubleSided === null || _regularDoubleSided === void 0 ? void 0 : _regularDoubleSided.id : undefined, value: typeof _regularDoubleSided === "object" && "value" in _regularDoubleSided ? _regularDoubleSided === null || _regularDoubleSided === void 0 ? void 0 : _regularDoubleSided.value : _regularDoubleSided, readOnly: true, isRaw: typeof _regularDoubleSided === "object" && "isRaw" in _regularDoubleSided && _regularDoubleSided.isRaw ? true : undefined })] })));
}
exports.WireframeMaterial = WireframeMaterial;
;