neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 5.87 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.OutlinedArc = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function OutlinedArc(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Arc = props.Arc, Offset = props.Offset, OuterRadiusRatio = props.OuterRadiusRatio, InnerRadiusRatio = props.InnerRadiusRatio, FillColor = props.FillColor, OutlineColor = props.OutlineColor, OutlineThickness = props.OutlineThickness, Material = props.Material;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.UIX.OutlinedArc", 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.Single]", name: "Arc", id: typeof Arc === "object" && "id" in Arc ? Arc === null || Arc === void 0 ? void 0 : Arc.id : undefined, value: typeof Arc === "object" && "value" in Arc ? Arc === null || Arc === void 0 ? void 0 : Arc.value : Arc, isRaw: typeof Arc === "object" && "isRaw" in Arc && Arc.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Offset", id: typeof Offset === "object" && "id" in Offset ? Offset === null || Offset === void 0 ? void 0 : Offset.id : undefined, value: typeof Offset === "object" && "value" in Offset ? Offset === null || Offset === void 0 ? void 0 : Offset.value : Offset, isRaw: typeof Offset === "object" && "isRaw" in Offset && Offset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "OuterRadiusRatio", id: typeof OuterRadiusRatio === "object" && "id" in OuterRadiusRatio ? OuterRadiusRatio === null || OuterRadiusRatio === void 0 ? void 0 : OuterRadiusRatio.id : undefined, value: typeof OuterRadiusRatio === "object" && "value" in OuterRadiusRatio ? OuterRadiusRatio === null || OuterRadiusRatio === void 0 ? void 0 : OuterRadiusRatio.value : OuterRadiusRatio, isRaw: typeof OuterRadiusRatio === "object" && "isRaw" in OuterRadiusRatio && OuterRadiusRatio.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "InnerRadiusRatio", id: typeof InnerRadiusRatio === "object" && "id" in InnerRadiusRatio ? InnerRadiusRatio === null || InnerRadiusRatio === void 0 ? void 0 : InnerRadiusRatio.id : undefined, value: typeof InnerRadiusRatio === "object" && "value" in InnerRadiusRatio ? InnerRadiusRatio === null || InnerRadiusRatio === void 0 ? void 0 : InnerRadiusRatio.value : InnerRadiusRatio, isRaw: typeof InnerRadiusRatio === "object" && "isRaw" in InnerRadiusRatio && InnerRadiusRatio.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: "OutlineColor", id: typeof OutlineColor === "object" && "id" in OutlineColor ? OutlineColor === null || OutlineColor === void 0 ? void 0 : OutlineColor.id : undefined, value: typeof OutlineColor === "object" && "value" in OutlineColor ? OutlineColor === null || OutlineColor === void 0 ? void 0 : OutlineColor.value : OutlineColor, isRaw: typeof OutlineColor === "object" && "isRaw" in OutlineColor && OutlineColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "OutlineThickness", id: typeof OutlineThickness === "object" && "id" in OutlineThickness ? OutlineThickness === null || OutlineThickness === void 0 ? void 0 : OutlineThickness.id : undefined, value: typeof OutlineThickness === "object" && "value" in OutlineThickness ? OutlineThickness === null || OutlineThickness === void 0 ? void 0 : OutlineThickness.value : OutlineThickness, isRaw: typeof OutlineThickness === "object" && "isRaw" in OutlineThickness && OutlineThickness.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.Material]", name: "Material", id: typeof Material === "object" && "id" in Material ? Material === null || Material === void 0 ? void 0 : Material.id : undefined, value: typeof Material === "object" && "value" in Material ? Material === null || Material === void 0 ? void 0 : Material.value : Material, isRaw: typeof Material === "object" && "isRaw" in Material && Material.isRaw ? true : undefined })] })));
}
exports.OutlinedArc = OutlinedArc;
;