UNPKG

neos-script

Version:

[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)

23 lines (22 loc) 8.87 kB
"use strict"; 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.AvatarRawToolData = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function AvatarRawToolData(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, ControllerSide = props.ControllerSide, PressingPrimary = props.PressingPrimary, PressingSecondary = props.PressingSecondary, PressingGrab = props.PressingGrab, PrimaryStrength = props.PrimaryStrength, SecondaryAxis = props.SecondaryAxis, _activeUser = props._activeUser, _strengthStream = props._strengthStream, _axisStream = props._axisStream, _primaryStream = props._primaryStream, _secondaryStream = props._secondaryStream, _grabStream = props._grabStream; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.CommonAvatar.AvatarRawToolData", 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.Chirality]", name: "ControllerSide", id: typeof ControllerSide === "object" && "id" in ControllerSide ? ControllerSide === null || ControllerSide === void 0 ? void 0 : ControllerSide.id : undefined, value: typeof ControllerSide === "object" && "value" in ControllerSide ? ControllerSide === null || ControllerSide === void 0 ? void 0 : ControllerSide.value : ControllerSide, isRaw: typeof ControllerSide === "object" && "isRaw" in ControllerSide && ControllerSide.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "PressingPrimary", id: typeof PressingPrimary === "object" && "id" in PressingPrimary ? PressingPrimary === null || PressingPrimary === void 0 ? void 0 : PressingPrimary.id : undefined, value: typeof PressingPrimary === "object" && "value" in PressingPrimary ? PressingPrimary === null || PressingPrimary === void 0 ? void 0 : PressingPrimary.value : PressingPrimary, isRaw: typeof PressingPrimary === "object" && "isRaw" in PressingPrimary && PressingPrimary.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "PressingSecondary", id: typeof PressingSecondary === "object" && "id" in PressingSecondary ? PressingSecondary === null || PressingSecondary === void 0 ? void 0 : PressingSecondary.id : undefined, value: typeof PressingSecondary === "object" && "value" in PressingSecondary ? PressingSecondary === null || PressingSecondary === void 0 ? void 0 : PressingSecondary.value : PressingSecondary, isRaw: typeof PressingSecondary === "object" && "isRaw" in PressingSecondary && PressingSecondary.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "PressingGrab", id: typeof PressingGrab === "object" && "id" in PressingGrab ? PressingGrab === null || PressingGrab === void 0 ? void 0 : PressingGrab.id : undefined, value: typeof PressingGrab === "object" && "value" in PressingGrab ? PressingGrab === null || PressingGrab === void 0 ? void 0 : PressingGrab.value : PressingGrab, isRaw: typeof PressingGrab === "object" && "isRaw" in PressingGrab && PressingGrab.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Single]", name: "PrimaryStrength", id: typeof PrimaryStrength === "object" && "id" in PrimaryStrength ? PrimaryStrength === null || PrimaryStrength === void 0 ? void 0 : PrimaryStrength.id : undefined, value: typeof PrimaryStrength === "object" && "value" in PrimaryStrength ? PrimaryStrength === null || PrimaryStrength === void 0 ? void 0 : PrimaryStrength.value : PrimaryStrength, isRaw: typeof PrimaryStrength === "object" && "isRaw" in PrimaryStrength && PrimaryStrength.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[BaseX.float2]", name: "SecondaryAxis", id: typeof SecondaryAxis === "object" && "id" in SecondaryAxis ? SecondaryAxis === null || SecondaryAxis === void 0 ? void 0 : SecondaryAxis.id : undefined, value: typeof SecondaryAxis === "object" && "value" in SecondaryAxis ? SecondaryAxis === null || SecondaryAxis === void 0 ? void 0 : SecondaryAxis.value : SecondaryAxis, isRaw: typeof SecondaryAxis === "object" && "isRaw" in SecondaryAxis && SecondaryAxis.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.User]", name: "_activeUser", id: typeof _activeUser === "object" && "id" in _activeUser ? _activeUser === null || _activeUser === void 0 ? void 0 : _activeUser.id : undefined, value: typeof _activeUser === "object" && "value" in _activeUser ? _activeUser === null || _activeUser === void 0 ? void 0 : _activeUser.value : _activeUser, isRaw: typeof _activeUser === "object" && "isRaw" in _activeUser && _activeUser.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.ValueStream`1[System.Single]]", name: "_strengthStream", id: typeof _strengthStream === "object" && "id" in _strengthStream ? _strengthStream === null || _strengthStream === void 0 ? void 0 : _strengthStream.id : undefined, value: typeof _strengthStream === "object" && "value" in _strengthStream ? _strengthStream === null || _strengthStream === void 0 ? void 0 : _strengthStream.value : _strengthStream, isRaw: typeof _strengthStream === "object" && "isRaw" in _strengthStream && _strengthStream.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.ValueStream`1[BaseX.float2]]", name: "_axisStream", id: typeof _axisStream === "object" && "id" in _axisStream ? _axisStream === null || _axisStream === void 0 ? void 0 : _axisStream.id : undefined, value: typeof _axisStream === "object" && "value" in _axisStream ? _axisStream === null || _axisStream === void 0 ? void 0 : _axisStream.value : _axisStream, isRaw: typeof _axisStream === "object" && "isRaw" in _axisStream && _axisStream.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.ValueStream`1[System.Boolean]]", name: "_primaryStream", id: typeof _primaryStream === "object" && "id" in _primaryStream ? _primaryStream === null || _primaryStream === void 0 ? void 0 : _primaryStream.id : undefined, value: typeof _primaryStream === "object" && "value" in _primaryStream ? _primaryStream === null || _primaryStream === void 0 ? void 0 : _primaryStream.value : _primaryStream, isRaw: typeof _primaryStream === "object" && "isRaw" in _primaryStream && _primaryStream.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.ValueStream`1[System.Boolean]]", name: "_secondaryStream", id: typeof _secondaryStream === "object" && "id" in _secondaryStream ? _secondaryStream === null || _secondaryStream === void 0 ? void 0 : _secondaryStream.id : undefined, value: typeof _secondaryStream === "object" && "value" in _secondaryStream ? _secondaryStream === null || _secondaryStream === void 0 ? void 0 : _secondaryStream.value : _secondaryStream, isRaw: typeof _secondaryStream === "object" && "isRaw" in _secondaryStream && _secondaryStream.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.ValueStream`1[System.Boolean]]", name: "_grabStream", id: typeof _grabStream === "object" && "id" in _grabStream ? _grabStream === null || _grabStream === void 0 ? void 0 : _grabStream.id : undefined, value: typeof _grabStream === "object" && "value" in _grabStream ? _grabStream === null || _grabStream === void 0 ? void 0 : _grabStream.value : _grabStream, isRaw: typeof _grabStream === "object" && "isRaw" in _grabStream && _grabStream.isRaw ? true : undefined })] }))); } exports.AvatarRawToolData = AvatarRawToolData; ;