neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 7.31 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.SphereAligner = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function SphereAligner(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, AutoAddChildren = props.AutoAddChildren, Radius = props.Radius, DistributionOffset = props.DistributionOffset, AlignToNormal = props.AlignToNormal, RotationOffset = props.RotationOffset, NormalizedStart = props.NormalizedStart, NormalizedEnd = props.NormalizedEnd, HorizontalStart = props.HorizontalStart, HorizontalEnd = props.HorizontalEnd, Items = props.Items;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.SphereAligner", 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[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: "DistributionOffset", id: typeof DistributionOffset === "object" && "id" in DistributionOffset ? DistributionOffset === null || DistributionOffset === void 0 ? void 0 : DistributionOffset.id : undefined, value: typeof DistributionOffset === "object" && "value" in DistributionOffset ? DistributionOffset === null || DistributionOffset === void 0 ? void 0 : DistributionOffset.value : DistributionOffset, isRaw: typeof DistributionOffset === "object" && "isRaw" in DistributionOffset && DistributionOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "AlignToNormal", id: typeof AlignToNormal === "object" && "id" in AlignToNormal ? AlignToNormal === null || AlignToNormal === void 0 ? void 0 : AlignToNormal.id : undefined, value: typeof AlignToNormal === "object" && "value" in AlignToNormal ? AlignToNormal === null || AlignToNormal === void 0 ? void 0 : AlignToNormal.value : AlignToNormal, isRaw: typeof AlignToNormal === "object" && "isRaw" in AlignToNormal && AlignToNormal.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.floatQ]", name: "RotationOffset", id: typeof RotationOffset === "object" && "id" in RotationOffset ? RotationOffset === null || RotationOffset === void 0 ? void 0 : RotationOffset.id : undefined, value: typeof RotationOffset === "object" && "value" in RotationOffset ? RotationOffset === null || RotationOffset === void 0 ? void 0 : RotationOffset.value : RotationOffset, isRaw: typeof RotationOffset === "object" && "isRaw" in RotationOffset && RotationOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "NormalizedStart", id: typeof NormalizedStart === "object" && "id" in NormalizedStart ? NormalizedStart === null || NormalizedStart === void 0 ? void 0 : NormalizedStart.id : undefined, value: typeof NormalizedStart === "object" && "value" in NormalizedStart ? NormalizedStart === null || NormalizedStart === void 0 ? void 0 : NormalizedStart.value : NormalizedStart, isRaw: typeof NormalizedStart === "object" && "isRaw" in NormalizedStart && NormalizedStart.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "NormalizedEnd", id: typeof NormalizedEnd === "object" && "id" in NormalizedEnd ? NormalizedEnd === null || NormalizedEnd === void 0 ? void 0 : NormalizedEnd.id : undefined, value: typeof NormalizedEnd === "object" && "value" in NormalizedEnd ? NormalizedEnd === null || NormalizedEnd === void 0 ? void 0 : NormalizedEnd.value : NormalizedEnd, isRaw: typeof NormalizedEnd === "object" && "isRaw" in NormalizedEnd && NormalizedEnd.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "HorizontalStart", id: typeof HorizontalStart === "object" && "id" in HorizontalStart ? HorizontalStart === null || HorizontalStart === void 0 ? void 0 : HorizontalStart.id : undefined, value: typeof HorizontalStart === "object" && "value" in HorizontalStart ? HorizontalStart === null || HorizontalStart === void 0 ? void 0 : HorizontalStart.value : HorizontalStart, isRaw: typeof HorizontalStart === "object" && "isRaw" in HorizontalStart && HorizontalStart.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "HorizontalEnd", id: typeof HorizontalEnd === "object" && "id" in HorizontalEnd ? HorizontalEnd === null || HorizontalEnd === void 0 ? void 0 : HorizontalEnd.id : undefined, value: typeof HorizontalEnd === "object" && "value" in HorizontalEnd ? HorizontalEnd === null || HorizontalEnd === void 0 ? void 0 : HorizontalEnd.value : HorizontalEnd, isRaw: typeof HorizontalEnd === "object" && "isRaw" in HorizontalEnd && HorizontalEnd.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncList`1[FrooxEngine.SphereAligner+Item]", name: "Items", id: typeof Items === "object" && "id" in Items ? Items === null || Items === void 0 ? void 0 : Items.id : undefined, value: typeof Items === "object" && "value" in Items ? Items === null || Items === void 0 ? void 0 : Items.value : Items, isRaw: typeof Items === "object" && "isRaw" in Items && Items.isRaw ? true : undefined })] })));
}
exports.SphereAligner = SphereAligner;
;