neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 12.7 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.BallisticPathMesh = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function BallisticPathMesh(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, OverrideBoundingBox = props.OverrideBoundingBox, OverridenBoundingBox = props.OverridenBoundingBox, InitialPosition = props.InitialPosition, InitialVelocity = props.InitialVelocity, Gravity = props.Gravity, Drag = props.Drag, Mode = props.Mode, StepSize = props.StepSize, TotalUnits = props.TotalUnits, Shape = props.Shape, Size = props.Size, Points = props.Points, DualSided = props.DualSided, Up = props.Up, DistanceSizeGrowth = props.DistanceSizeGrowth, MinGrownSize = props.MinGrownSize, MaxGrownSize = props.MaxGrownSize, UseLastSegment = props.UseLastSegment, LastSegmentPosition = props.LastSegmentPosition;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.BallisticPathMesh", 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: "HighPriorityIntegration", id: typeof HighPriorityIntegration === "object" && "id" in HighPriorityIntegration ? HighPriorityIntegration === null || HighPriorityIntegration === void 0 ? void 0 : HighPriorityIntegration.id : undefined, value: typeof HighPriorityIntegration === "object" && "value" in HighPriorityIntegration ? HighPriorityIntegration === null || HighPriorityIntegration === void 0 ? void 0 : HighPriorityIntegration.value : HighPriorityIntegration, isRaw: typeof HighPriorityIntegration === "object" && "isRaw" in HighPriorityIntegration && HighPriorityIntegration.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "OverrideBoundingBox", id: typeof OverrideBoundingBox === "object" && "id" in OverrideBoundingBox ? OverrideBoundingBox === null || OverrideBoundingBox === void 0 ? void 0 : OverrideBoundingBox.id : undefined, value: typeof OverrideBoundingBox === "object" && "value" in OverrideBoundingBox ? OverrideBoundingBox === null || OverrideBoundingBox === void 0 ? void 0 : OverrideBoundingBox.value : OverrideBoundingBox, isRaw: typeof OverrideBoundingBox === "object" && "isRaw" in OverrideBoundingBox && OverrideBoundingBox.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.BoundingBox]", name: "OverridenBoundingBox", id: typeof OverridenBoundingBox === "object" && "id" in OverridenBoundingBox ? OverridenBoundingBox === null || OverridenBoundingBox === void 0 ? void 0 : OverridenBoundingBox.id : undefined, value: typeof OverridenBoundingBox === "object" && "value" in OverridenBoundingBox ? OverridenBoundingBox === null || OverridenBoundingBox === void 0 ? void 0 : OverridenBoundingBox.value : OverridenBoundingBox, isRaw: typeof OverridenBoundingBox === "object" && "isRaw" in OverridenBoundingBox && OverridenBoundingBox.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "InitialPosition", id: typeof InitialPosition === "object" && "id" in InitialPosition ? InitialPosition === null || InitialPosition === void 0 ? void 0 : InitialPosition.id : undefined, value: typeof InitialPosition === "object" && "value" in InitialPosition ? InitialPosition === null || InitialPosition === void 0 ? void 0 : InitialPosition.value : InitialPosition, isRaw: typeof InitialPosition === "object" && "isRaw" in InitialPosition && InitialPosition.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "InitialVelocity", id: typeof InitialVelocity === "object" && "id" in InitialVelocity ? InitialVelocity === null || InitialVelocity === void 0 ? void 0 : InitialVelocity.id : undefined, value: typeof InitialVelocity === "object" && "value" in InitialVelocity ? InitialVelocity === null || InitialVelocity === void 0 ? void 0 : InitialVelocity.value : InitialVelocity, isRaw: typeof InitialVelocity === "object" && "isRaw" in InitialVelocity && InitialVelocity.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "Gravity", id: typeof Gravity === "object" && "id" in Gravity ? Gravity === null || Gravity === void 0 ? void 0 : Gravity.id : undefined, value: typeof Gravity === "object" && "value" in Gravity ? Gravity === null || Gravity === void 0 ? void 0 : Gravity.value : Gravity, isRaw: typeof Gravity === "object" && "isRaw" in Gravity && Gravity.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Drag", id: typeof Drag === "object" && "id" in Drag ? Drag === null || Drag === void 0 ? void 0 : Drag.id : undefined, value: typeof Drag === "object" && "value" in Drag ? Drag === null || Drag === void 0 ? void 0 : Drag.value : Drag, isRaw: typeof Drag === "object" && "isRaw" in Drag && Drag.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.BallisticPathMesh+StepMode]", name: "Mode", id: typeof Mode === "object" && "id" in Mode ? Mode === null || Mode === void 0 ? void 0 : Mode.id : undefined, value: typeof Mode === "object" && "value" in Mode ? Mode === null || Mode === void 0 ? void 0 : Mode.value : Mode, isRaw: typeof Mode === "object" && "isRaw" in Mode && Mode.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "StepSize", id: typeof StepSize === "object" && "id" in StepSize ? StepSize === null || StepSize === void 0 ? void 0 : StepSize.id : undefined, value: typeof StepSize === "object" && "value" in StepSize ? StepSize === null || StepSize === void 0 ? void 0 : StepSize.value : StepSize, isRaw: typeof StepSize === "object" && "isRaw" in StepSize && StepSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "TotalUnits", id: typeof TotalUnits === "object" && "id" in TotalUnits ? TotalUnits === null || TotalUnits === void 0 ? void 0 : TotalUnits.id : undefined, value: typeof TotalUnits === "object" && "value" in TotalUnits ? TotalUnits === null || TotalUnits === void 0 ? void 0 : TotalUnits.value : TotalUnits, isRaw: typeof TotalUnits === "object" && "isRaw" in TotalUnits && TotalUnits.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.BallisticPathMesh+PathShape]", name: "Shape", id: typeof Shape === "object" && "id" in Shape ? Shape === null || Shape === void 0 ? void 0 : Shape.id : undefined, value: typeof Shape === "object" && "value" in Shape ? Shape === null || Shape === void 0 ? void 0 : Shape.value : Shape, isRaw: typeof Shape === "object" && "isRaw" in Shape && Shape.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Size", id: typeof Size === "object" && "id" in Size ? Size === null || Size === void 0 ? void 0 : Size.id : undefined, value: typeof Size === "object" && "value" in Size ? Size === null || Size === void 0 ? void 0 : Size.value : Size, isRaw: typeof Size === "object" && "isRaw" in Size && Size.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "Points", id: typeof Points === "object" && "id" in Points ? Points === null || Points === void 0 ? void 0 : Points.id : undefined, value: typeof Points === "object" && "value" in Points ? Points === null || Points === void 0 ? void 0 : Points.value : Points, isRaw: typeof Points === "object" && "isRaw" in Points && Points.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "DualSided", id: typeof DualSided === "object" && "id" in DualSided ? DualSided === null || DualSided === void 0 ? void 0 : DualSided.id : undefined, value: typeof DualSided === "object" && "value" in DualSided ? DualSided === null || DualSided === void 0 ? void 0 : DualSided.value : DualSided, isRaw: typeof DualSided === "object" && "isRaw" in DualSided && DualSided.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "Up", id: typeof Up === "object" && "id" in Up ? Up === null || Up === void 0 ? void 0 : Up.id : undefined, value: typeof Up === "object" && "value" in Up ? Up === null || Up === void 0 ? void 0 : Up.value : Up, isRaw: typeof Up === "object" && "isRaw" in Up && Up.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "DistanceSizeGrowth", id: typeof DistanceSizeGrowth === "object" && "id" in DistanceSizeGrowth ? DistanceSizeGrowth === null || DistanceSizeGrowth === void 0 ? void 0 : DistanceSizeGrowth.id : undefined, value: typeof DistanceSizeGrowth === "object" && "value" in DistanceSizeGrowth ? DistanceSizeGrowth === null || DistanceSizeGrowth === void 0 ? void 0 : DistanceSizeGrowth.value : DistanceSizeGrowth, isRaw: typeof DistanceSizeGrowth === "object" && "isRaw" in DistanceSizeGrowth && DistanceSizeGrowth.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "MinGrownSize", id: typeof MinGrownSize === "object" && "id" in MinGrownSize ? MinGrownSize === null || MinGrownSize === void 0 ? void 0 : MinGrownSize.id : undefined, value: typeof MinGrownSize === "object" && "value" in MinGrownSize ? MinGrownSize === null || MinGrownSize === void 0 ? void 0 : MinGrownSize.value : MinGrownSize, isRaw: typeof MinGrownSize === "object" && "isRaw" in MinGrownSize && MinGrownSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "MaxGrownSize", id: typeof MaxGrownSize === "object" && "id" in MaxGrownSize ? MaxGrownSize === null || MaxGrownSize === void 0 ? void 0 : MaxGrownSize.id : undefined, value: typeof MaxGrownSize === "object" && "value" in MaxGrownSize ? MaxGrownSize === null || MaxGrownSize === void 0 ? void 0 : MaxGrownSize.value : MaxGrownSize, isRaw: typeof MaxGrownSize === "object" && "isRaw" in MaxGrownSize && MaxGrownSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "UseLastSegment", id: typeof UseLastSegment === "object" && "id" in UseLastSegment ? UseLastSegment === null || UseLastSegment === void 0 ? void 0 : UseLastSegment.id : undefined, value: typeof UseLastSegment === "object" && "value" in UseLastSegment ? UseLastSegment === null || UseLastSegment === void 0 ? void 0 : UseLastSegment.value : UseLastSegment, isRaw: typeof UseLastSegment === "object" && "isRaw" in UseLastSegment && UseLastSegment.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "LastSegmentPosition", id: typeof LastSegmentPosition === "object" && "id" in LastSegmentPosition ? LastSegmentPosition === null || LastSegmentPosition === void 0 ? void 0 : LastSegmentPosition.id : undefined, value: typeof LastSegmentPosition === "object" && "value" in LastSegmentPosition ? LastSegmentPosition === null || LastSegmentPosition === void 0 ? void 0 : LastSegmentPosition.value : LastSegmentPosition, isRaw: typeof LastSegmentPosition === "object" && "isRaw" in LastSegmentPosition && LastSegmentPosition.isRaw ? true : undefined })] })));
}
exports.BallisticPathMesh = BallisticPathMesh;
;