UNPKG

neos-script

Version:

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

23 lines (22 loc) 4.84 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.GripPoseReference = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function GripPoseReference(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HandSide = props.HandSide, _rootPos = props._rootPos, TipReference = props.TipReference, ShowVisual = props.ShowVisual, DisableSlider = props.DisableSlider, _activeVisual = props._activeVisual; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.GripPoseReference", 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: "HandSide", id: typeof HandSide === "object" && "id" in HandSide ? HandSide === null || HandSide === void 0 ? void 0 : HandSide.id : undefined, value: typeof HandSide === "object" && "value" in HandSide ? HandSide === null || HandSide === void 0 ? void 0 : HandSide.value : HandSide, isRaw: typeof HandSide === "object" && "isRaw" in HandSide && HandSide.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "_rootPos", id: typeof _rootPos === "object" && "id" in _rootPos ? _rootPos === null || _rootPos === void 0 ? void 0 : _rootPos.id : undefined, value: typeof _rootPos === "object" && "value" in _rootPos ? _rootPos === null || _rootPos === void 0 ? void 0 : _rootPos.value : _rootPos, isRaw: typeof _rootPos === "object" && "isRaw" in _rootPos && _rootPos.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "TipReference", id: typeof TipReference === "object" && "id" in TipReference ? TipReference === null || TipReference === void 0 ? void 0 : TipReference.id : undefined, value: typeof TipReference === "object" && "value" in TipReference ? TipReference === null || TipReference === void 0 ? void 0 : TipReference.value : TipReference, isRaw: typeof TipReference === "object" && "isRaw" in TipReference && TipReference.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "ShowVisual-ID", id: typeof ShowVisual === "object" && "id" in ShowVisual ? ShowVisual === null || ShowVisual === void 0 ? void 0 : ShowVisual.id : undefined, value: typeof ShowVisual === "object" && "value" in ShowVisual ? ShowVisual === null || ShowVisual === void 0 ? void 0 : ShowVisual.value : ShowVisual, readOnly: true, isRaw: typeof ShowVisual === "object" && "isRaw" in ShowVisual && ShowVisual.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "DisableSlider-ID", id: typeof DisableSlider === "object" && "id" in DisableSlider ? DisableSlider === null || DisableSlider === void 0 ? void 0 : DisableSlider.id : undefined, value: typeof DisableSlider === "object" && "value" in DisableSlider ? DisableSlider === null || DisableSlider === void 0 ? void 0 : DisableSlider.value : DisableSlider, readOnly: true, isRaw: typeof DisableSlider === "object" && "isRaw" in DisableSlider && DisableSlider.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.CleanupRef`1[FrooxEngine.Slot]", name: "_activeVisual", id: typeof _activeVisual === "object" && "id" in _activeVisual ? _activeVisual === null || _activeVisual === void 0 ? void 0 : _activeVisual.id : undefined, value: typeof _activeVisual === "object" && "value" in _activeVisual ? _activeVisual === null || _activeVisual === void 0 ? void 0 : _activeVisual.value : _activeVisual, isRaw: typeof _activeVisual === "object" && "isRaw" in _activeVisual && _activeVisual.isRaw ? true : undefined })] }))); } exports.GripPoseReference = GripPoseReference; ;