neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 4.89 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.SineHapticFilter = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../../core");
function SineHapticFilter(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, UseGlobalTime = props.UseGlobalTime, DistanceScale = props.DistanceScale, AxisScale = props.AxisScale, MinIntensity = props.MinIntensity, MaxIntensity = props.MaxIntensity, Frequency = props.Frequency;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.SineHapticFilter", 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: "UseGlobalTime", id: typeof UseGlobalTime === "object" && "id" in UseGlobalTime ? UseGlobalTime === null || UseGlobalTime === void 0 ? void 0 : UseGlobalTime.id : undefined, value: typeof UseGlobalTime === "object" && "value" in UseGlobalTime ? UseGlobalTime === null || UseGlobalTime === void 0 ? void 0 : UseGlobalTime.value : UseGlobalTime, isRaw: typeof UseGlobalTime === "object" && "isRaw" in UseGlobalTime && UseGlobalTime.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Nullable`1[System.Single]]", name: "DistanceScale", id: typeof DistanceScale === "object" && "id" in DistanceScale ? DistanceScale === null || DistanceScale === void 0 ? void 0 : DistanceScale.id : undefined, value: typeof DistanceScale === "object" && "value" in DistanceScale ? DistanceScale === null || DistanceScale === void 0 ? void 0 : DistanceScale.value : DistanceScale, isRaw: typeof DistanceScale === "object" && "isRaw" in DistanceScale && DistanceScale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Nullable`1[BaseX.float3]]", name: "AxisScale", id: typeof AxisScale === "object" && "id" in AxisScale ? AxisScale === null || AxisScale === void 0 ? void 0 : AxisScale.id : undefined, value: typeof AxisScale === "object" && "value" in AxisScale ? AxisScale === null || AxisScale === void 0 ? void 0 : AxisScale.value : AxisScale, isRaw: typeof AxisScale === "object" && "isRaw" in AxisScale && AxisScale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "MinIntensity", id: typeof MinIntensity === "object" && "id" in MinIntensity ? MinIntensity === null || MinIntensity === void 0 ? void 0 : MinIntensity.id : undefined, value: typeof MinIntensity === "object" && "value" in MinIntensity ? MinIntensity === null || MinIntensity === void 0 ? void 0 : MinIntensity.value : MinIntensity, isRaw: typeof MinIntensity === "object" && "isRaw" in MinIntensity && MinIntensity.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`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.Single]", name: "Frequency", id: typeof Frequency === "object" && "id" in Frequency ? Frequency === null || Frequency === void 0 ? void 0 : Frequency.id : undefined, value: typeof Frequency === "object" && "value" in Frequency ? Frequency === null || Frequency === void 0 ? void 0 : Frequency.value : Frequency, isRaw: typeof Frequency === "object" && "isRaw" in Frequency && Frequency.isRaw ? true : undefined })] })));
}
exports.SineHapticFilter = SineHapticFilter;
;