neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 5.94 kB
JavaScript
;
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.AssetFrameSlot_A = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function AssetFrameSlot_A(props) {
var A = props.type.A.name, id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, FrameSize = props.FrameSize, FrameAnimSpeed = props.FrameAnimSpeed, SnapAnimTime = props.SnapAnimTime, Callback = props.Callback, _current = props._current, _currentRatio = props._currentRatio, _frameSize = props._frameSize, _collider = props._collider;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.AssetFrameSlot`1[".concat([A,], "]"), 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[System.Single]", name: "FrameSize", id: typeof FrameSize === "object" && "id" in FrameSize ? FrameSize === null || FrameSize === void 0 ? void 0 : FrameSize.id : undefined, value: typeof FrameSize === "object" && "value" in FrameSize ? FrameSize === null || FrameSize === void 0 ? void 0 : FrameSize.value : FrameSize, isRaw: typeof FrameSize === "object" && "isRaw" in FrameSize && FrameSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "FrameAnimSpeed", id: typeof FrameAnimSpeed === "object" && "id" in FrameAnimSpeed ? FrameAnimSpeed === null || FrameAnimSpeed === void 0 ? void 0 : FrameAnimSpeed.id : undefined, value: typeof FrameAnimSpeed === "object" && "value" in FrameAnimSpeed ? FrameAnimSpeed === null || FrameAnimSpeed === void 0 ? void 0 : FrameAnimSpeed.value : FrameAnimSpeed, isRaw: typeof FrameAnimSpeed === "object" && "isRaw" in FrameAnimSpeed && FrameAnimSpeed.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "SnapAnimTime", id: typeof SnapAnimTime === "object" && "id" in SnapAnimTime ? SnapAnimTime === null || SnapAnimTime === void 0 ? void 0 : SnapAnimTime.id : undefined, value: typeof SnapAnimTime === "object" && "value" in SnapAnimTime ? SnapAnimTime === null || SnapAnimTime === void 0 ? void 0 : SnapAnimTime.value : SnapAnimTime, isRaw: typeof SnapAnimTime === "object" && "isRaw" in SnapAnimTime && SnapAnimTime.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncDelegate`1[System.Action`1[FrooxEngine.IAssetProvider`1[A]]]", name: "Callback", id: typeof Callback === "object" && "id" in Callback ? Callback === null || Callback === void 0 ? void 0 : Callback.id : undefined, value: typeof Callback === "object" && "value" in Callback ? Callback === null || Callback === void 0 ? void 0 : Callback.value : Callback, isRaw: typeof Callback === "object" && "isRaw" in Callback && Callback.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_current", id: typeof _current === "object" && "id" in _current ? _current === null || _current === void 0 ? void 0 : _current.id : undefined, value: typeof _current === "object" && "value" in _current ? _current === null || _current === void 0 ? void 0 : _current.value : _current, isRaw: typeof _current === "object" && "isRaw" in _current && _current.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float2]", name: "_currentRatio", id: typeof _currentRatio === "object" && "id" in _currentRatio ? _currentRatio === null || _currentRatio === void 0 ? void 0 : _currentRatio.id : undefined, value: typeof _currentRatio === "object" && "value" in _currentRatio ? _currentRatio === null || _currentRatio === void 0 ? void 0 : _currentRatio.value : _currentRatio, isRaw: typeof _currentRatio === "object" && "isRaw" in _currentRatio && _currentRatio.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.float2]", name: "_frameSize", id: typeof _frameSize === "object" && "id" in _frameSize ? _frameSize === null || _frameSize === void 0 ? void 0 : _frameSize.id : undefined, value: typeof _frameSize === "object" && "value" in _frameSize ? _frameSize === null || _frameSize === void 0 ? void 0 : _frameSize.value : _frameSize, isRaw: typeof _frameSize === "object" && "isRaw" in _frameSize && _frameSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.BoxCollider]", name: "_collider", id: typeof _collider === "object" && "id" in _collider ? _collider === null || _collider === void 0 ? void 0 : _collider.id : undefined, value: typeof _collider === "object" && "value" in _collider ? _collider === null || _collider === void 0 ? void 0 : _collider.value : _collider, isRaw: typeof _collider === "object" && "isRaw" in _collider && _collider.isRaw ? true : undefined })] })));
}
exports.AssetFrameSlot_A = AssetFrameSlot_A;
;