UNPKG

neos-script

Version:

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

23 lines (22 loc) 5.71 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.PointTouchSource = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function PointTouchSource(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, AutoUpdateUser = props.AutoUpdateUser, OutOfSightAngle = props.OutOfSightAngle, MaxTouchPenetrationDistance = props.MaxTouchPenetrationDistance, CustomFilter = props.CustomFilter, Offset = props.Offset, Direction = props.Direction, MaxDistance = props.MaxDistance; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.PointTouchSource", 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.User]", name: "AutoUpdateUser", id: typeof AutoUpdateUser === "object" && "id" in AutoUpdateUser ? AutoUpdateUser === null || AutoUpdateUser === void 0 ? void 0 : AutoUpdateUser.id : undefined, value: typeof AutoUpdateUser === "object" && "value" in AutoUpdateUser ? AutoUpdateUser === null || AutoUpdateUser === void 0 ? void 0 : AutoUpdateUser.value : AutoUpdateUser, isRaw: typeof AutoUpdateUser === "object" && "isRaw" in AutoUpdateUser && AutoUpdateUser.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "OutOfSightAngle", id: typeof OutOfSightAngle === "object" && "id" in OutOfSightAngle ? OutOfSightAngle === null || OutOfSightAngle === void 0 ? void 0 : OutOfSightAngle.id : undefined, value: typeof OutOfSightAngle === "object" && "value" in OutOfSightAngle ? OutOfSightAngle === null || OutOfSightAngle === void 0 ? void 0 : OutOfSightAngle.value : OutOfSightAngle, isRaw: typeof OutOfSightAngle === "object" && "isRaw" in OutOfSightAngle && OutOfSightAngle.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "MaxTouchPenetrationDistance", id: typeof MaxTouchPenetrationDistance === "object" && "id" in MaxTouchPenetrationDistance ? MaxTouchPenetrationDistance === null || MaxTouchPenetrationDistance === void 0 ? void 0 : MaxTouchPenetrationDistance.id : undefined, value: typeof MaxTouchPenetrationDistance === "object" && "value" in MaxTouchPenetrationDistance ? MaxTouchPenetrationDistance === null || MaxTouchPenetrationDistance === void 0 ? void 0 : MaxTouchPenetrationDistance.value : MaxTouchPenetrationDistance, isRaw: typeof MaxTouchPenetrationDistance === "object" && "isRaw" in MaxTouchPenetrationDistance && MaxTouchPenetrationDistance.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncDelegate`1[System.Func`3[FrooxEngine.ICollider,System.Int32,System.Boolean]]", name: "CustomFilter", id: typeof CustomFilter === "object" && "id" in CustomFilter ? CustomFilter === null || CustomFilter === void 0 ? void 0 : CustomFilter.id : undefined, value: typeof CustomFilter === "object" && "value" in CustomFilter ? CustomFilter === null || CustomFilter === void 0 ? void 0 : CustomFilter.value : CustomFilter, isRaw: typeof CustomFilter === "object" && "isRaw" in CustomFilter && CustomFilter.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "Offset", id: typeof Offset === "object" && "id" in Offset ? Offset === null || Offset === void 0 ? void 0 : Offset.id : undefined, value: typeof Offset === "object" && "value" in Offset ? Offset === null || Offset === void 0 ? void 0 : Offset.value : Offset, isRaw: typeof Offset === "object" && "isRaw" in Offset && Offset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", 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[System.Single]", name: "MaxDistance", id: typeof MaxDistance === "object" && "id" in MaxDistance ? MaxDistance === null || MaxDistance === void 0 ? void 0 : MaxDistance.id : undefined, value: typeof MaxDistance === "object" && "value" in MaxDistance ? MaxDistance === null || MaxDistance === void 0 ? void 0 : MaxDistance.value : MaxDistance, isRaw: typeof MaxDistance === "object" && "isRaw" in MaxDistance && MaxDistance.isRaw ? true : undefined })] }))); } exports.PointTouchSource = PointTouchSource; ;