UNPKG

neos-script

Version:

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

23 lines (22 loc) 9.41 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.ColorWheelTriangleMesh = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function ColorWheelTriangleMesh(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, OverrideBoundingBox = props.OverrideBoundingBox, OverridenBoundingBox = props.OverridenBoundingBox, Hue = props.Hue, OuterRadius = props.OuterRadius, InnerRadius = props.InnerRadius, RingSegments = props.RingSegments, CursorPosition = props.CursorPosition, CursorSegments = props.CursorSegments, CursorColor = props.CursorColor, CursorOuterRadius = props.CursorOuterRadius, CursorInnerRadius = props.CursorInnerRadius, CursorZOffset = props.CursorZOffset; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.ColorWheelTriangleMesh", 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[System.Single]", name: "Hue", id: typeof Hue === "object" && "id" in Hue ? Hue === null || Hue === void 0 ? void 0 : Hue.id : undefined, value: typeof Hue === "object" && "value" in Hue ? Hue === null || Hue === void 0 ? void 0 : Hue.value : Hue, isRaw: typeof Hue === "object" && "isRaw" in Hue && Hue.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "OuterRadius", id: typeof OuterRadius === "object" && "id" in OuterRadius ? OuterRadius === null || OuterRadius === void 0 ? void 0 : OuterRadius.id : undefined, value: typeof OuterRadius === "object" && "value" in OuterRadius ? OuterRadius === null || OuterRadius === void 0 ? void 0 : OuterRadius.value : OuterRadius, isRaw: typeof OuterRadius === "object" && "isRaw" in OuterRadius && OuterRadius.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "InnerRadius", id: typeof InnerRadius === "object" && "id" in InnerRadius ? InnerRadius === null || InnerRadius === void 0 ? void 0 : InnerRadius.id : undefined, value: typeof InnerRadius === "object" && "value" in InnerRadius ? InnerRadius === null || InnerRadius === void 0 ? void 0 : InnerRadius.value : InnerRadius, isRaw: typeof InnerRadius === "object" && "isRaw" in InnerRadius && InnerRadius.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "RingSegments", id: typeof RingSegments === "object" && "id" in RingSegments ? RingSegments === null || RingSegments === void 0 ? void 0 : RingSegments.id : undefined, value: typeof RingSegments === "object" && "value" in RingSegments ? RingSegments === null || RingSegments === void 0 ? void 0 : RingSegments.value : RingSegments, isRaw: typeof RingSegments === "object" && "isRaw" in RingSegments && RingSegments.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "CursorPosition", id: typeof CursorPosition === "object" && "id" in CursorPosition ? CursorPosition === null || CursorPosition === void 0 ? void 0 : CursorPosition.id : undefined, value: typeof CursorPosition === "object" && "value" in CursorPosition ? CursorPosition === null || CursorPosition === void 0 ? void 0 : CursorPosition.value : CursorPosition, isRaw: typeof CursorPosition === "object" && "isRaw" in CursorPosition && CursorPosition.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "CursorSegments", id: typeof CursorSegments === "object" && "id" in CursorSegments ? CursorSegments === null || CursorSegments === void 0 ? void 0 : CursorSegments.id : undefined, value: typeof CursorSegments === "object" && "value" in CursorSegments ? CursorSegments === null || CursorSegments === void 0 ? void 0 : CursorSegments.value : CursorSegments, isRaw: typeof CursorSegments === "object" && "isRaw" in CursorSegments && CursorSegments.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "CursorColor", id: typeof CursorColor === "object" && "id" in CursorColor ? CursorColor === null || CursorColor === void 0 ? void 0 : CursorColor.id : undefined, value: typeof CursorColor === "object" && "value" in CursorColor ? CursorColor === null || CursorColor === void 0 ? void 0 : CursorColor.value : CursorColor, isRaw: typeof CursorColor === "object" && "isRaw" in CursorColor && CursorColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "CursorOuterRadius", id: typeof CursorOuterRadius === "object" && "id" in CursorOuterRadius ? CursorOuterRadius === null || CursorOuterRadius === void 0 ? void 0 : CursorOuterRadius.id : undefined, value: typeof CursorOuterRadius === "object" && "value" in CursorOuterRadius ? CursorOuterRadius === null || CursorOuterRadius === void 0 ? void 0 : CursorOuterRadius.value : CursorOuterRadius, isRaw: typeof CursorOuterRadius === "object" && "isRaw" in CursorOuterRadius && CursorOuterRadius.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "CursorInnerRadius", id: typeof CursorInnerRadius === "object" && "id" in CursorInnerRadius ? CursorInnerRadius === null || CursorInnerRadius === void 0 ? void 0 : CursorInnerRadius.id : undefined, value: typeof CursorInnerRadius === "object" && "value" in CursorInnerRadius ? CursorInnerRadius === null || CursorInnerRadius === void 0 ? void 0 : CursorInnerRadius.value : CursorInnerRadius, isRaw: typeof CursorInnerRadius === "object" && "isRaw" in CursorInnerRadius && CursorInnerRadius.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "CursorZOffset", id: typeof CursorZOffset === "object" && "id" in CursorZOffset ? CursorZOffset === null || CursorZOffset === void 0 ? void 0 : CursorZOffset.id : undefined, value: typeof CursorZOffset === "object" && "value" in CursorZOffset ? CursorZOffset === null || CursorZOffset === void 0 ? void 0 : CursorZOffset.value : CursorZOffset, isRaw: typeof CursorZOffset === "object" && "isRaw" in CursorZOffset && CursorZOffset.isRaw ? true : undefined })] }))); } exports.ColorWheelTriangleMesh = ColorWheelTriangleMesh; ;