neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 8.22 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.AxisAligner = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function AxisAligner(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, AutoAddChildren = props.AutoAddChildren, Direction = props.Direction, GlobalAxisXAlign = props.GlobalAxisXAlign, GlobalAxisYAlign = props.GlobalAxisYAlign, GlobalAxisZAlign = props.GlobalAxisZAlign, ElementAxisXAlign = props.ElementAxisXAlign, ElementAxisYAlign = props.ElementAxisYAlign, ElementAxisZAlign = props.ElementAxisZAlign, Separation = props.Separation, ExcludeList = props.ExcludeList, _targets = props._targets;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.AxisAligner", 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.Boolean]", name: "AutoAddChildren", id: typeof AutoAddChildren === "object" && "id" in AutoAddChildren ? AutoAddChildren === null || AutoAddChildren === void 0 ? void 0 : AutoAddChildren.id : undefined, value: typeof AutoAddChildren === "object" && "value" in AutoAddChildren ? AutoAddChildren === null || AutoAddChildren === void 0 ? void 0 : AutoAddChildren.value : AutoAddChildren, isRaw: typeof AutoAddChildren === "object" && "isRaw" in AutoAddChildren && AutoAddChildren.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.AxisAligner+AxisDir]", name: "Direction", id: typeof Direction === "object" && "id" in Direction ? Direction === null || Direction === void 0 ? void 0 : Direction.id : undefined, value: typeof Direction === "object" && "value" in Direction ? Direction === null || Direction === void 0 ? void 0 : Direction.value : Direction, isRaw: typeof Direction === "object" && "isRaw" in Direction && Direction.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.AxisAligner+Align]", name: "GlobalAxisXAlign", id: typeof GlobalAxisXAlign === "object" && "id" in GlobalAxisXAlign ? GlobalAxisXAlign === null || GlobalAxisXAlign === void 0 ? void 0 : GlobalAxisXAlign.id : undefined, value: typeof GlobalAxisXAlign === "object" && "value" in GlobalAxisXAlign ? GlobalAxisXAlign === null || GlobalAxisXAlign === void 0 ? void 0 : GlobalAxisXAlign.value : GlobalAxisXAlign, isRaw: typeof GlobalAxisXAlign === "object" && "isRaw" in GlobalAxisXAlign && GlobalAxisXAlign.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.AxisAligner+Align]", name: "GlobalAxisYAlign", id: typeof GlobalAxisYAlign === "object" && "id" in GlobalAxisYAlign ? GlobalAxisYAlign === null || GlobalAxisYAlign === void 0 ? void 0 : GlobalAxisYAlign.id : undefined, value: typeof GlobalAxisYAlign === "object" && "value" in GlobalAxisYAlign ? GlobalAxisYAlign === null || GlobalAxisYAlign === void 0 ? void 0 : GlobalAxisYAlign.value : GlobalAxisYAlign, isRaw: typeof GlobalAxisYAlign === "object" && "isRaw" in GlobalAxisYAlign && GlobalAxisYAlign.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.AxisAligner+Align]", name: "GlobalAxisZAlign", id: typeof GlobalAxisZAlign === "object" && "id" in GlobalAxisZAlign ? GlobalAxisZAlign === null || GlobalAxisZAlign === void 0 ? void 0 : GlobalAxisZAlign.id : undefined, value: typeof GlobalAxisZAlign === "object" && "value" in GlobalAxisZAlign ? GlobalAxisZAlign === null || GlobalAxisZAlign === void 0 ? void 0 : GlobalAxisZAlign.value : GlobalAxisZAlign, isRaw: typeof GlobalAxisZAlign === "object" && "isRaw" in GlobalAxisZAlign && GlobalAxisZAlign.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.AxisAligner+Align]", name: "ElementAxisXAlign", id: typeof ElementAxisXAlign === "object" && "id" in ElementAxisXAlign ? ElementAxisXAlign === null || ElementAxisXAlign === void 0 ? void 0 : ElementAxisXAlign.id : undefined, value: typeof ElementAxisXAlign === "object" && "value" in ElementAxisXAlign ? ElementAxisXAlign === null || ElementAxisXAlign === void 0 ? void 0 : ElementAxisXAlign.value : ElementAxisXAlign, isRaw: typeof ElementAxisXAlign === "object" && "isRaw" in ElementAxisXAlign && ElementAxisXAlign.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.AxisAligner+Align]", name: "ElementAxisYAlign", id: typeof ElementAxisYAlign === "object" && "id" in ElementAxisYAlign ? ElementAxisYAlign === null || ElementAxisYAlign === void 0 ? void 0 : ElementAxisYAlign.id : undefined, value: typeof ElementAxisYAlign === "object" && "value" in ElementAxisYAlign ? ElementAxisYAlign === null || ElementAxisYAlign === void 0 ? void 0 : ElementAxisYAlign.value : ElementAxisYAlign, isRaw: typeof ElementAxisYAlign === "object" && "isRaw" in ElementAxisYAlign && ElementAxisYAlign.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.AxisAligner+Align]", name: "ElementAxisZAlign", id: typeof ElementAxisZAlign === "object" && "id" in ElementAxisZAlign ? ElementAxisZAlign === null || ElementAxisZAlign === void 0 ? void 0 : ElementAxisZAlign.id : undefined, value: typeof ElementAxisZAlign === "object" && "value" in ElementAxisZAlign ? ElementAxisZAlign === null || ElementAxisZAlign === void 0 ? void 0 : ElementAxisZAlign.value : ElementAxisZAlign, isRaw: typeof ElementAxisZAlign === "object" && "isRaw" in ElementAxisZAlign && ElementAxisZAlign.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Separation", id: typeof Separation === "object" && "id" in Separation ? Separation === null || Separation === void 0 ? void 0 : Separation.id : undefined, value: typeof Separation === "object" && "value" in Separation ? Separation === null || Separation === void 0 ? void 0 : Separation.value : Separation, isRaw: typeof Separation === "object" && "isRaw" in Separation && Separation.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRefList`1[FrooxEngine.IBounded]", name: "ExcludeList", id: typeof ExcludeList === "object" && "id" in ExcludeList ? ExcludeList === null || ExcludeList === void 0 ? void 0 : ExcludeList.id : undefined, value: typeof ExcludeList === "object" && "value" in ExcludeList ? ExcludeList === null || ExcludeList === void 0 ? void 0 : ExcludeList.value : ExcludeList, isRaw: typeof ExcludeList === "object" && "isRaw" in ExcludeList && ExcludeList.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncList`1[FrooxEngine.AxisAligner+Target]", name: "_targets", id: typeof _targets === "object" && "id" in _targets ? _targets === null || _targets === void 0 ? void 0 : _targets.id : undefined, value: typeof _targets === "object" && "value" in _targets ? _targets === null || _targets === void 0 ? void 0 : _targets.value : _targets, isRaw: typeof _targets === "object" && "isRaw" in _targets && _targets.isRaw ? true : undefined })] })));
}
exports.AxisAligner = AxisAligner;
;