UNPKG

neos-script

Version:

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

23 lines (22 loc) 8.94 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.AvatarPoseNode = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function AvatarPoseNode(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Node = props.Node, EquipOrderPriority = props.EquipOrderPriority, RunAfterInputUpdate = props.RunAfterInputUpdate, MutuallyExclusiveNodes = props.MutuallyExclusiveNodes, IsTracking = props.IsTracking, SourceIsTracking = props.SourceIsTracking, SourceIsActive = props.SourceIsActive, _objectSlot = props._objectSlot, _source = props._source, _position = props._position, _rotation = props._rotation, _scale = props._scale, _active = props._active; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.CommonAvatar.AvatarPoseNode", 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.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.Int32]", name: "EquipOrderPriority", id: typeof EquipOrderPriority === "object" && "id" in EquipOrderPriority ? EquipOrderPriority === null || EquipOrderPriority === void 0 ? void 0 : EquipOrderPriority.id : undefined, value: typeof EquipOrderPriority === "object" && "value" in EquipOrderPriority ? EquipOrderPriority === null || EquipOrderPriority === void 0 ? void 0 : EquipOrderPriority.value : EquipOrderPriority, isRaw: typeof EquipOrderPriority === "object" && "isRaw" in EquipOrderPriority && EquipOrderPriority.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "RunAfterInputUpdate", id: typeof RunAfterInputUpdate === "object" && "id" in RunAfterInputUpdate ? RunAfterInputUpdate === null || RunAfterInputUpdate === void 0 ? void 0 : RunAfterInputUpdate.id : undefined, value: typeof RunAfterInputUpdate === "object" && "value" in RunAfterInputUpdate ? RunAfterInputUpdate === null || RunAfterInputUpdate === void 0 ? void 0 : RunAfterInputUpdate.value : RunAfterInputUpdate, isRaw: typeof RunAfterInputUpdate === "object" && "isRaw" in RunAfterInputUpdate && RunAfterInputUpdate.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncFieldList`1[FrooxEngine.BodyNode]", name: "MutuallyExclusiveNodes", id: typeof MutuallyExclusiveNodes === "object" && "id" in MutuallyExclusiveNodes ? MutuallyExclusiveNodes === null || MutuallyExclusiveNodes === void 0 ? void 0 : MutuallyExclusiveNodes.id : undefined, value: typeof MutuallyExclusiveNodes === "object" && "value" in MutuallyExclusiveNodes ? MutuallyExclusiveNodes === null || MutuallyExclusiveNodes === void 0 ? void 0 : MutuallyExclusiveNodes.value : MutuallyExclusiveNodes, isRaw: typeof MutuallyExclusiveNodes === "object" && "isRaw" in MutuallyExclusiveNodes && MutuallyExclusiveNodes.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`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.RawOutput`1[System.Boolean]", name: "SourceIsTracking", id: typeof SourceIsTracking === "object" && "id" in SourceIsTracking ? SourceIsTracking === null || SourceIsTracking === void 0 ? void 0 : SourceIsTracking.id : undefined, value: typeof SourceIsTracking === "object" && "value" in SourceIsTracking ? SourceIsTracking === null || SourceIsTracking === void 0 ? void 0 : SourceIsTracking.value : SourceIsTracking, isRaw: typeof SourceIsTracking === "object" && "isRaw" in SourceIsTracking && SourceIsTracking.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "SourceIsActive", id: typeof SourceIsActive === "object" && "id" in SourceIsActive ? SourceIsActive === null || SourceIsActive === void 0 ? void 0 : SourceIsActive.id : undefined, value: typeof SourceIsActive === "object" && "value" in SourceIsActive ? SourceIsActive === null || SourceIsActive === void 0 ? void 0 : SourceIsActive.value : SourceIsActive, isRaw: typeof SourceIsActive === "object" && "isRaw" in SourceIsActive && SourceIsActive.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.CommonAvatar.AvatarObjectSlot]", name: "_objectSlot", id: typeof _objectSlot === "object" && "id" in _objectSlot ? _objectSlot === null || _objectSlot === void 0 ? void 0 : _objectSlot.id : undefined, value: typeof _objectSlot === "object" && "value" in _objectSlot ? _objectSlot === null || _objectSlot === void 0 ? void 0 : _objectSlot.value : _objectSlot, isRaw: typeof _objectSlot === "object" && "isRaw" in _objectSlot && _objectSlot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_source", id: typeof _source === "object" && "id" in _source ? _source === null || _source === void 0 ? void 0 : _source.id : undefined, value: typeof _source === "object" && "value" in _source ? _source === null || _source === void 0 ? void 0 : _source.value : _source, isRaw: typeof _source === "object" && "isRaw" in _source && _source.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.float3]", name: "_position", id: typeof _position === "object" && "id" in _position ? _position === null || _position === void 0 ? void 0 : _position.id : undefined, value: typeof _position === "object" && "value" in _position ? _position === null || _position === void 0 ? void 0 : _position.value : _position, isRaw: typeof _position === "object" && "isRaw" in _position && _position.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.floatQ]", name: "_rotation", id: typeof _rotation === "object" && "id" in _rotation ? _rotation === null || _rotation === void 0 ? void 0 : _rotation.id : undefined, value: typeof _rotation === "object" && "value" in _rotation ? _rotation === null || _rotation === void 0 ? void 0 : _rotation.value : _rotation, isRaw: typeof _rotation === "object" && "isRaw" in _rotation && _rotation.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.float3]", name: "_scale", id: typeof _scale === "object" && "id" in _scale ? _scale === null || _scale === void 0 ? void 0 : _scale.id : undefined, value: typeof _scale === "object" && "value" in _scale ? _scale === null || _scale === void 0 ? void 0 : _scale.value : _scale, isRaw: typeof _scale === "object" && "isRaw" in _scale && _scale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[System.Boolean]", name: "_active", id: typeof _active === "object" && "id" in _active ? _active === null || _active === void 0 ? void 0 : _active.id : undefined, value: typeof _active === "object" && "value" in _active ? _active === null || _active === void 0 ? void 0 : _active.value : _active, isRaw: typeof _active === "object" && "isRaw" in _active && _active.isRaw ? true : undefined })] }))); } exports.AvatarPoseNode = AvatarPoseNode; ;