UNPKG

neos-script

Version:

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

23 lines (22 loc) 5.77 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.AvatarObjectSlot = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function AvatarObjectSlot(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Equipped = props.Equipped, Node = props.Node, IsTracking = props.IsTracking, IsActive = props.IsActive, DriveActive = props.DriveActive, DriveScale = props.DriveScale, Filters = props.Filters, _autoSmoothing = props._autoSmoothing; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.CommonAvatar.AvatarObjectSlot", 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.LinkRef`1[FrooxEngine.CommonAvatar.IAvatarObject]", name: "Equipped", id: typeof Equipped === "object" && "id" in Equipped ? Equipped === null || Equipped === void 0 ? void 0 : Equipped.id : undefined, value: typeof Equipped === "object" && "value" in Equipped ? Equipped === null || Equipped === void 0 ? void 0 : Equipped.value : Equipped, isRaw: typeof Equipped === "object" && "isRaw" in Equipped && Equipped.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.BodyNode]", name: "Node", id: typeof Node === "object" && "id" in Node ? Node === null || Node === void 0 ? void 0 : Node.id : undefined, value: typeof Node === "object" && "value" in Node ? Node === null || Node === void 0 ? void 0 : Node.value : Node, isRaw: typeof Node === "object" && "isRaw" in Node && Node.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "IsTracking", id: typeof IsTracking === "object" && "id" in IsTracking ? IsTracking === null || IsTracking === void 0 ? void 0 : IsTracking.id : undefined, value: typeof IsTracking === "object" && "value" in IsTracking ? IsTracking === null || IsTracking === void 0 ? void 0 : IsTracking.value : IsTracking, isRaw: typeof IsTracking === "object" && "isRaw" in IsTracking && IsTracking.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "IsActive", id: typeof IsActive === "object" && "id" in IsActive ? IsActive === null || IsActive === void 0 ? void 0 : IsActive.id : undefined, value: typeof IsActive === "object" && "value" in IsActive ? IsActive === null || IsActive === void 0 ? void 0 : IsActive.value : IsActive, isRaw: typeof IsActive === "object" && "isRaw" in IsActive && IsActive.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "DriveActive", id: typeof DriveActive === "object" && "id" in DriveActive ? DriveActive === null || DriveActive === void 0 ? void 0 : DriveActive.id : undefined, value: typeof DriveActive === "object" && "value" in DriveActive ? DriveActive === null || DriveActive === void 0 ? void 0 : DriveActive.value : DriveActive, isRaw: typeof DriveActive === "object" && "isRaw" in DriveActive && DriveActive.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "DriveScale", id: typeof DriveScale === "object" && "id" in DriveScale ? DriveScale === null || DriveScale === void 0 ? void 0 : DriveScale.id : undefined, value: typeof DriveScale === "object" && "value" in DriveScale ? DriveScale === null || DriveScale === void 0 ? void 0 : DriveScale.value : DriveScale, isRaw: typeof DriveScale === "object" && "isRaw" in DriveScale && DriveScale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.PrioritySyncRefList`1[FrooxEngine.CommonAvatar.IAvatarPoseFilter]", name: "Filters", id: typeof Filters === "object" && "id" in Filters ? Filters === null || Filters === void 0 ? void 0 : Filters.id : undefined, value: typeof Filters === "object" && "value" in Filters ? Filters === null || Filters === void 0 ? void 0 : Filters.value : Filters, isRaw: typeof Filters === "object" && "isRaw" in Filters && Filters.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.CommonAvatar.AvatarPoseSmoothLerp]", name: "_autoSmoothing", id: typeof _autoSmoothing === "object" && "id" in _autoSmoothing ? _autoSmoothing === null || _autoSmoothing === void 0 ? void 0 : _autoSmoothing.id : undefined, value: typeof _autoSmoothing === "object" && "value" in _autoSmoothing ? _autoSmoothing === null || _autoSmoothing === void 0 ? void 0 : _autoSmoothing.value : _autoSmoothing, isRaw: typeof _autoSmoothing === "object" && "isRaw" in _autoSmoothing && _autoSmoothing.isRaw ? true : undefined })] }))); } exports.AvatarObjectSlot = AvatarObjectSlot; ;