neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 9.49 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.SpawnArc = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function SpawnArc(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Weight = props.Weight, Capacity = props.Capacity, Radius = props.Radius, Arc = props.Arc, UsersPerArc = props.UsersPerArc, CenterArcOffset = props.CenterArcOffset, GrowBothSides = props.GrowBothSides, RowHeightOffset = props.RowHeightOffset, OrientUser = props.OrientUser, ParentUser = props.ParentUser, TiltUsers = props.TiltUsers, PositionNode = props.PositionNode, RotationNode = props.RotationNode, _showTest = props._showTest, _testSlots = props._testSlots;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.SpawnArc", 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: "Weight", id: typeof Weight === "object" && "id" in Weight ? Weight === null || Weight === void 0 ? void 0 : Weight.id : undefined, value: typeof Weight === "object" && "value" in Weight ? Weight === null || Weight === void 0 ? void 0 : Weight.value : Weight, isRaw: typeof Weight === "object" && "isRaw" in Weight && Weight.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "Capacity", id: typeof Capacity === "object" && "id" in Capacity ? Capacity === null || Capacity === void 0 ? void 0 : Capacity.id : undefined, value: typeof Capacity === "object" && "value" in Capacity ? Capacity === null || Capacity === void 0 ? void 0 : Capacity.value : Capacity, isRaw: typeof Capacity === "object" && "isRaw" in Capacity && Capacity.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Radius", id: typeof Radius === "object" && "id" in Radius ? Radius === null || Radius === void 0 ? void 0 : Radius.id : undefined, value: typeof Radius === "object" && "value" in Radius ? Radius === null || Radius === void 0 ? void 0 : Radius.value : Radius, isRaw: typeof Radius === "object" && "isRaw" in Radius && Radius.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Arc", id: typeof Arc === "object" && "id" in Arc ? Arc === null || Arc === void 0 ? void 0 : Arc.id : undefined, value: typeof Arc === "object" && "value" in Arc ? Arc === null || Arc === void 0 ? void 0 : Arc.value : Arc, isRaw: typeof Arc === "object" && "isRaw" in Arc && Arc.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "UsersPerArc", id: typeof UsersPerArc === "object" && "id" in UsersPerArc ? UsersPerArc === null || UsersPerArc === void 0 ? void 0 : UsersPerArc.id : undefined, value: typeof UsersPerArc === "object" && "value" in UsersPerArc ? UsersPerArc === null || UsersPerArc === void 0 ? void 0 : UsersPerArc.value : UsersPerArc, isRaw: typeof UsersPerArc === "object" && "isRaw" in UsersPerArc && UsersPerArc.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "CenterArcOffset", id: typeof CenterArcOffset === "object" && "id" in CenterArcOffset ? CenterArcOffset === null || CenterArcOffset === void 0 ? void 0 : CenterArcOffset.id : undefined, value: typeof CenterArcOffset === "object" && "value" in CenterArcOffset ? CenterArcOffset === null || CenterArcOffset === void 0 ? void 0 : CenterArcOffset.value : CenterArcOffset, isRaw: typeof CenterArcOffset === "object" && "isRaw" in CenterArcOffset && CenterArcOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "GrowBothSides", id: typeof GrowBothSides === "object" && "id" in GrowBothSides ? GrowBothSides === null || GrowBothSides === void 0 ? void 0 : GrowBothSides.id : undefined, value: typeof GrowBothSides === "object" && "value" in GrowBothSides ? GrowBothSides === null || GrowBothSides === void 0 ? void 0 : GrowBothSides.value : GrowBothSides, isRaw: typeof GrowBothSides === "object" && "isRaw" in GrowBothSides && GrowBothSides.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "RowHeightOffset", id: typeof RowHeightOffset === "object" && "id" in RowHeightOffset ? RowHeightOffset === null || RowHeightOffset === void 0 ? void 0 : RowHeightOffset.id : undefined, value: typeof RowHeightOffset === "object" && "value" in RowHeightOffset ? RowHeightOffset === null || RowHeightOffset === void 0 ? void 0 : RowHeightOffset.value : RowHeightOffset, isRaw: typeof RowHeightOffset === "object" && "isRaw" in RowHeightOffset && RowHeightOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "OrientUser", id: typeof OrientUser === "object" && "id" in OrientUser ? OrientUser === null || OrientUser === void 0 ? void 0 : OrientUser.id : undefined, value: typeof OrientUser === "object" && "value" in OrientUser ? OrientUser === null || OrientUser === void 0 ? void 0 : OrientUser.value : OrientUser, isRaw: typeof OrientUser === "object" && "isRaw" in OrientUser && OrientUser.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "ParentUser", id: typeof ParentUser === "object" && "id" in ParentUser ? ParentUser === null || ParentUser === void 0 ? void 0 : ParentUser.id : undefined, value: typeof ParentUser === "object" && "value" in ParentUser ? ParentUser === null || ParentUser === void 0 ? void 0 : ParentUser.value : ParentUser, isRaw: typeof ParentUser === "object" && "isRaw" in ParentUser && ParentUser.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "TiltUsers", id: typeof TiltUsers === "object" && "id" in TiltUsers ? TiltUsers === null || TiltUsers === void 0 ? void 0 : TiltUsers.id : undefined, value: typeof TiltUsers === "object" && "value" in TiltUsers ? TiltUsers === null || TiltUsers === void 0 ? void 0 : TiltUsers.value : TiltUsers, isRaw: typeof TiltUsers === "object" && "isRaw" in TiltUsers && TiltUsers.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.UserRoot+UserNode]", name: "PositionNode", id: typeof PositionNode === "object" && "id" in PositionNode ? PositionNode === null || PositionNode === void 0 ? void 0 : PositionNode.id : undefined, value: typeof PositionNode === "object" && "value" in PositionNode ? PositionNode === null || PositionNode === void 0 ? void 0 : PositionNode.value : PositionNode, isRaw: typeof PositionNode === "object" && "isRaw" in PositionNode && PositionNode.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.UserRoot+UserNode]", name: "RotationNode", id: typeof RotationNode === "object" && "id" in RotationNode ? RotationNode === null || RotationNode === void 0 ? void 0 : RotationNode.id : undefined, value: typeof RotationNode === "object" && "value" in RotationNode ? RotationNode === null || RotationNode === void 0 ? void 0 : RotationNode.value : RotationNode, isRaw: typeof RotationNode === "object" && "isRaw" in RotationNode && RotationNode.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "_showTest", id: typeof _showTest === "object" && "id" in _showTest ? _showTest === null || _showTest === void 0 ? void 0 : _showTest.id : undefined, value: typeof _showTest === "object" && "value" in _showTest ? _showTest === null || _showTest === void 0 ? void 0 : _showTest.value : _showTest, isRaw: typeof _showTest === "object" && "isRaw" in _showTest && _showTest.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "_testSlots", id: typeof _testSlots === "object" && "id" in _testSlots ? _testSlots === null || _testSlots === void 0 ? void 0 : _testSlots.id : undefined, value: typeof _testSlots === "object" && "value" in _testSlots ? _testSlots === null || _testSlots === void 0 ? void 0 : _testSlots.value : _testSlots, isRaw: typeof _testSlots === "object" && "isRaw" in _testSlots && _testSlots.isRaw ? true : undefined })] })));
}
exports.SpawnArc = SpawnArc;
;