neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 5.91 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.TutorialItem = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function TutorialItem(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Show = props.Show, HideAngle = props.HideAngle, NormalMaterial = props.NormalMaterial, _highlightMaterials = props._highlightMaterials, _normalColor = props._normalColor, _hueOffset = props._hueOffset, ShowLerp = props.ShowLerp, TextColor = props.TextColor;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.TutorialItem", 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: "Show", id: typeof Show === "object" && "id" in Show ? Show === null || Show === void 0 ? void 0 : Show.id : undefined, value: typeof Show === "object" && "value" in Show ? Show === null || Show === void 0 ? void 0 : Show.value : Show, isRaw: typeof Show === "object" && "isRaw" in Show && Show.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "HideAngle", id: typeof HideAngle === "object" && "id" in HideAngle ? HideAngle === null || HideAngle === void 0 ? void 0 : HideAngle.id : undefined, value: typeof HideAngle === "object" && "value" in HideAngle ? HideAngle === null || HideAngle === void 0 ? void 0 : HideAngle.value : HideAngle, isRaw: typeof HideAngle === "object" && "isRaw" in HideAngle && HideAngle.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.FresnelMaterial]", name: "NormalMaterial", id: typeof NormalMaterial === "object" && "id" in NormalMaterial ? NormalMaterial === null || NormalMaterial === void 0 ? void 0 : NormalMaterial.id : undefined, value: typeof NormalMaterial === "object" && "value" in NormalMaterial ? NormalMaterial === null || NormalMaterial === void 0 ? void 0 : NormalMaterial.value : NormalMaterial, isRaw: typeof NormalMaterial === "object" && "isRaw" in NormalMaterial && NormalMaterial.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncList`1[FrooxEngine.TutorialItem+HighlightMaterial]", name: "_highlightMaterials", id: typeof _highlightMaterials === "object" && "id" in _highlightMaterials ? _highlightMaterials === null || _highlightMaterials === void 0 ? void 0 : _highlightMaterials.id : undefined, value: typeof _highlightMaterials === "object" && "value" in _highlightMaterials ? _highlightMaterials === null || _highlightMaterials === void 0 ? void 0 : _highlightMaterials.value : _highlightMaterials, isRaw: typeof _highlightMaterials === "object" && "isRaw" in _highlightMaterials && _highlightMaterials.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.color]", name: "_normalColor", id: typeof _normalColor === "object" && "id" in _normalColor ? _normalColor === null || _normalColor === void 0 ? void 0 : _normalColor.id : undefined, value: typeof _normalColor === "object" && "value" in _normalColor ? _normalColor === null || _normalColor === void 0 ? void 0 : _normalColor.value : _normalColor, isRaw: typeof _normalColor === "object" && "isRaw" in _normalColor && _normalColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "_hueOffset", id: typeof _hueOffset === "object" && "id" in _hueOffset ? _hueOffset === null || _hueOffset === void 0 ? void 0 : _hueOffset.id : undefined, value: typeof _hueOffset === "object" && "value" in _hueOffset ? _hueOffset === null || _hueOffset === void 0 ? void 0 : _hueOffset.value : _hueOffset, isRaw: typeof _hueOffset === "object" && "isRaw" in _hueOffset && _hueOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Single]", name: "ShowLerp", id: typeof ShowLerp === "object" && "id" in ShowLerp ? ShowLerp === null || ShowLerp === void 0 ? void 0 : ShowLerp.id : undefined, value: typeof ShowLerp === "object" && "value" in ShowLerp ? ShowLerp === null || ShowLerp === void 0 ? void 0 : ShowLerp.value : ShowLerp, isRaw: typeof ShowLerp === "object" && "isRaw" in ShowLerp && ShowLerp.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[BaseX.color]", name: "TextColor", id: typeof TextColor === "object" && "id" in TextColor ? TextColor === null || TextColor === void 0 ? void 0 : TextColor.id : undefined, value: typeof TextColor === "object" && "value" in TextColor ? TextColor === null || TextColor === void 0 ? void 0 : TextColor.value : TextColor, isRaw: typeof TextColor === "object" && "isRaw" in TextColor && TextColor.isRaw ? true : undefined })] })));
}
exports.TutorialItem = TutorialItem;
;