UNPKG

neos-script

Version:

[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)

23 lines (22 loc) 7.78 kB
"use strict"; 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.CircleEmitter = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../../core"); function CircleEmitter(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, System = props.System, Rate = props.Rate, BurstOnActivatedMin = props.BurstOnActivatedMin, BurstOnActivatedMax = props.BurstOnActivatedMax, BurstTimePeriod = props.BurstTimePeriod, Bursts = props.Bursts, Radius = props.Radius, EmitFromShell = props.EmitFromShell, RandomDirection = props.RandomDirection, ForceDirection = props.ForceDirection, ForcedDirection = props.ForcedDirection; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.CircleEmitter", 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.SyncRef`1[FrooxEngine.ParticleSystem]", name: "System", id: typeof System === "object" && "id" in System ? System === null || System === void 0 ? void 0 : System.id : undefined, value: typeof System === "object" && "value" in System ? System === null || System === void 0 ? void 0 : System.value : System, isRaw: typeof System === "object" && "isRaw" in System && System.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Rate", id: typeof Rate === "object" && "id" in Rate ? Rate === null || Rate === void 0 ? void 0 : Rate.id : undefined, value: typeof Rate === "object" && "value" in Rate ? Rate === null || Rate === void 0 ? void 0 : Rate.value : Rate, isRaw: typeof Rate === "object" && "isRaw" in Rate && Rate.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "BurstOnActivatedMin", id: typeof BurstOnActivatedMin === "object" && "id" in BurstOnActivatedMin ? BurstOnActivatedMin === null || BurstOnActivatedMin === void 0 ? void 0 : BurstOnActivatedMin.id : undefined, value: typeof BurstOnActivatedMin === "object" && "value" in BurstOnActivatedMin ? BurstOnActivatedMin === null || BurstOnActivatedMin === void 0 ? void 0 : BurstOnActivatedMin.value : BurstOnActivatedMin, isRaw: typeof BurstOnActivatedMin === "object" && "isRaw" in BurstOnActivatedMin && BurstOnActivatedMin.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "BurstOnActivatedMax", id: typeof BurstOnActivatedMax === "object" && "id" in BurstOnActivatedMax ? BurstOnActivatedMax === null || BurstOnActivatedMax === void 0 ? void 0 : BurstOnActivatedMax.id : undefined, value: typeof BurstOnActivatedMax === "object" && "value" in BurstOnActivatedMax ? BurstOnActivatedMax === null || BurstOnActivatedMax === void 0 ? void 0 : BurstOnActivatedMax.value : BurstOnActivatedMax, isRaw: typeof BurstOnActivatedMax === "object" && "isRaw" in BurstOnActivatedMax && BurstOnActivatedMax.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Double]", name: "BurstTimePeriod", id: typeof BurstTimePeriod === "object" && "id" in BurstTimePeriod ? BurstTimePeriod === null || BurstTimePeriod === void 0 ? void 0 : BurstTimePeriod.id : undefined, value: typeof BurstTimePeriod === "object" && "value" in BurstTimePeriod ? BurstTimePeriod === null || BurstTimePeriod === void 0 ? void 0 : BurstTimePeriod.value : BurstTimePeriod, isRaw: typeof BurstTimePeriod === "object" && "isRaw" in BurstTimePeriod && BurstTimePeriod.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncLinear`1[FrooxEngine.ParticleBurst]", name: "Bursts", id: typeof Bursts === "object" && "id" in Bursts ? Bursts === null || Bursts === void 0 ? void 0 : Bursts.id : undefined, value: typeof Bursts === "object" && "value" in Bursts ? Bursts === null || Bursts === void 0 ? void 0 : Bursts.value : Bursts, isRaw: typeof Bursts === "object" && "isRaw" in Bursts && Bursts.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.Boolean]", name: "EmitFromShell", id: typeof EmitFromShell === "object" && "id" in EmitFromShell ? EmitFromShell === null || EmitFromShell === void 0 ? void 0 : EmitFromShell.id : undefined, value: typeof EmitFromShell === "object" && "value" in EmitFromShell ? EmitFromShell === null || EmitFromShell === void 0 ? void 0 : EmitFromShell.value : EmitFromShell, isRaw: typeof EmitFromShell === "object" && "isRaw" in EmitFromShell && EmitFromShell.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "RandomDirection", id: typeof RandomDirection === "object" && "id" in RandomDirection ? RandomDirection === null || RandomDirection === void 0 ? void 0 : RandomDirection.id : undefined, value: typeof RandomDirection === "object" && "value" in RandomDirection ? RandomDirection === null || RandomDirection === void 0 ? void 0 : RandomDirection.value : RandomDirection, isRaw: typeof RandomDirection === "object" && "isRaw" in RandomDirection && RandomDirection.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "ForceDirection", id: typeof ForceDirection === "object" && "id" in ForceDirection ? ForceDirection === null || ForceDirection === void 0 ? void 0 : ForceDirection.id : undefined, value: typeof ForceDirection === "object" && "value" in ForceDirection ? ForceDirection === null || ForceDirection === void 0 ? void 0 : ForceDirection.value : ForceDirection, isRaw: typeof ForceDirection === "object" && "isRaw" in ForceDirection && ForceDirection.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "ForcedDirection", id: typeof ForcedDirection === "object" && "id" in ForcedDirection ? ForcedDirection === null || ForcedDirection === void 0 ? void 0 : ForcedDirection.id : undefined, value: typeof ForcedDirection === "object" && "value" in ForcedDirection ? ForcedDirection === null || ForcedDirection === void 0 ? void 0 : ForcedDirection.value : ForcedDirection, isRaw: typeof ForcedDirection === "object" && "isRaw" in ForcedDirection && ForcedDirection.isRaw ? true : undefined })] }))); } exports.CircleEmitter = CircleEmitter; ;