UNPKG

neos-script

Version:

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

23 lines (22 loc) 4.24 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.EyeRotationDriver = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../../core"); function EyeRotationDriver(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, EyeManager = props.EyeManager, EyeMotionScale = props.EyeMotionScale, EyeMotionExp = props.EyeMotionExp, MaxSwing = props.MaxSwing, Eyes = props.Eyes; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.CommonAvatar.EyeRotationDriver", id: id, persistentId: persistentId, updateOrder: updateOrder, version: 1 }, { 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.SyncRef`1[FrooxEngine.CommonAvatar.EyeManager]", name: "EyeManager", id: typeof EyeManager === "object" && "id" in EyeManager ? EyeManager === null || EyeManager === void 0 ? void 0 : EyeManager.id : undefined, value: typeof EyeManager === "object" && "value" in EyeManager ? EyeManager === null || EyeManager === void 0 ? void 0 : EyeManager.value : EyeManager, isRaw: typeof EyeManager === "object" && "isRaw" in EyeManager && EyeManager.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "EyeMotionScale", id: typeof EyeMotionScale === "object" && "id" in EyeMotionScale ? EyeMotionScale === null || EyeMotionScale === void 0 ? void 0 : EyeMotionScale.id : undefined, value: typeof EyeMotionScale === "object" && "value" in EyeMotionScale ? EyeMotionScale === null || EyeMotionScale === void 0 ? void 0 : EyeMotionScale.value : EyeMotionScale, isRaw: typeof EyeMotionScale === "object" && "isRaw" in EyeMotionScale && EyeMotionScale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "EyeMotionExp", id: typeof EyeMotionExp === "object" && "id" in EyeMotionExp ? EyeMotionExp === null || EyeMotionExp === void 0 ? void 0 : EyeMotionExp.id : undefined, value: typeof EyeMotionExp === "object" && "value" in EyeMotionExp ? EyeMotionExp === null || EyeMotionExp === void 0 ? void 0 : EyeMotionExp.value : EyeMotionExp, isRaw: typeof EyeMotionExp === "object" && "isRaw" in EyeMotionExp && EyeMotionExp.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "MaxSwing", id: typeof MaxSwing === "object" && "id" in MaxSwing ? MaxSwing === null || MaxSwing === void 0 ? void 0 : MaxSwing.id : undefined, value: typeof MaxSwing === "object" && "value" in MaxSwing ? MaxSwing === null || MaxSwing === void 0 ? void 0 : MaxSwing.value : MaxSwing, isRaw: typeof MaxSwing === "object" && "isRaw" in MaxSwing && MaxSwing.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncList`1[FrooxEngine.CommonAvatar.EyeRotationDriver+Eye]", name: "Eyes", id: typeof Eyes === "object" && "id" in Eyes ? Eyes === null || Eyes === void 0 ? void 0 : Eyes.id : undefined, value: typeof Eyes === "object" && "value" in Eyes ? Eyes === null || Eyes === void 0 ? void 0 : Eyes.value : Eyes, isRaw: typeof Eyes === "object" && "isRaw" in Eyes && Eyes.isRaw ? true : undefined })] }))); } exports.EyeRotationDriver = EyeRotationDriver; ;