UNPKG

neos-script

Version:

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

23 lines (22 loc) 4.42 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.Panner3D = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function Panner3D(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, _target = props._target, _offset = props._offset, _preOffset = props._preOffset, _speed = props._speed, _repeat = props._repeat, PingPong = props.PingPong; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.Panner3D", 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.FieldDrive`1[BaseX.float3]", name: "_target", id: typeof _target === "object" && "id" in _target ? _target === null || _target === void 0 ? void 0 : _target.id : undefined, value: typeof _target === "object" && "value" in _target ? _target === null || _target === void 0 ? void 0 : _target.value : _target, isRaw: typeof _target === "object" && "isRaw" in _target && _target.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "_offset", id: typeof _offset === "object" && "id" in _offset ? _offset === null || _offset === void 0 ? void 0 : _offset.id : undefined, value: typeof _offset === "object" && "value" in _offset ? _offset === null || _offset === void 0 ? void 0 : _offset.value : _offset, isRaw: typeof _offset === "object" && "isRaw" in _offset && _offset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "_preOffset", id: typeof _preOffset === "object" && "id" in _preOffset ? _preOffset === null || _preOffset === void 0 ? void 0 : _preOffset.id : undefined, value: typeof _preOffset === "object" && "value" in _preOffset ? _preOffset === null || _preOffset === void 0 ? void 0 : _preOffset.value : _preOffset, isRaw: typeof _preOffset === "object" && "isRaw" in _preOffset && _preOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "_speed", id: typeof _speed === "object" && "id" in _speed ? _speed === null || _speed === void 0 ? void 0 : _speed.id : undefined, value: typeof _speed === "object" && "value" in _speed ? _speed === null || _speed === void 0 ? void 0 : _speed.value : _speed, isRaw: typeof _speed === "object" && "isRaw" in _speed && _speed.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "_repeat", id: typeof _repeat === "object" && "id" in _repeat ? _repeat === null || _repeat === void 0 ? void 0 : _repeat.id : undefined, value: typeof _repeat === "object" && "value" in _repeat ? _repeat === null || _repeat === void 0 ? void 0 : _repeat.value : _repeat, isRaw: typeof _repeat === "object" && "isRaw" in _repeat && _repeat.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "PingPong", id: typeof PingPong === "object" && "id" in PingPong ? PingPong === null || PingPong === void 0 ? void 0 : PingPong.id : undefined, value: typeof PingPong === "object" && "value" in PingPong ? PingPong === null || PingPong === void 0 ? void 0 : PingPong.value : PingPong, isRaw: typeof PingPong === "object" && "isRaw" in PingPong && PingPong.isRaw ? true : undefined })] }))); } exports.Panner3D = Panner3D; ;