neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 7.36 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.LabelPointerMesh = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function LabelPointerMesh(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, HighPriorityIntegration = props.HighPriorityIntegration, OverrideBoundingBox = props.OverrideBoundingBox, OverridenBoundingBox = props.OverridenBoundingBox, LabelPoint = props.LabelPoint, TargetPoint = props.TargetPoint, LabelRotation = props.LabelRotation, LabelWidth = props.LabelWidth, Width = props.Width, ExpandLerp = props.ExpandLerp, DualSided = props.DualSided;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.LabelPointerMesh", 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: "LabelPoint", id: typeof LabelPoint === "object" && "id" in LabelPoint ? LabelPoint === null || LabelPoint === void 0 ? void 0 : LabelPoint.id : undefined, value: typeof LabelPoint === "object" && "value" in LabelPoint ? LabelPoint === null || LabelPoint === void 0 ? void 0 : LabelPoint.value : LabelPoint, isRaw: typeof LabelPoint === "object" && "isRaw" in LabelPoint && LabelPoint.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.float3]", name: "TargetPoint", id: typeof TargetPoint === "object" && "id" in TargetPoint ? TargetPoint === null || TargetPoint === void 0 ? void 0 : TargetPoint.id : undefined, value: typeof TargetPoint === "object" && "value" in TargetPoint ? TargetPoint === null || TargetPoint === void 0 ? void 0 : TargetPoint.value : TargetPoint, isRaw: typeof TargetPoint === "object" && "isRaw" in TargetPoint && TargetPoint.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.floatQ]", name: "LabelRotation", id: typeof LabelRotation === "object" && "id" in LabelRotation ? LabelRotation === null || LabelRotation === void 0 ? void 0 : LabelRotation.id : undefined, value: typeof LabelRotation === "object" && "value" in LabelRotation ? LabelRotation === null || LabelRotation === void 0 ? void 0 : LabelRotation.value : LabelRotation, isRaw: typeof LabelRotation === "object" && "isRaw" in LabelRotation && LabelRotation.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "LabelWidth", id: typeof LabelWidth === "object" && "id" in LabelWidth ? LabelWidth === null || LabelWidth === void 0 ? void 0 : LabelWidth.id : undefined, value: typeof LabelWidth === "object" && "value" in LabelWidth ? LabelWidth === null || LabelWidth === void 0 ? void 0 : LabelWidth.value : LabelWidth, isRaw: typeof LabelWidth === "object" && "isRaw" in LabelWidth && LabelWidth.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Width", id: typeof Width === "object" && "id" in Width ? Width === null || Width === void 0 ? void 0 : Width.id : undefined, value: typeof Width === "object" && "value" in Width ? Width === null || Width === void 0 ? void 0 : Width.value : Width, isRaw: typeof Width === "object" && "isRaw" in Width && Width.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "ExpandLerp", id: typeof ExpandLerp === "object" && "id" in ExpandLerp ? ExpandLerp === null || ExpandLerp === void 0 ? void 0 : ExpandLerp.id : undefined, value: typeof ExpandLerp === "object" && "value" in ExpandLerp ? ExpandLerp === null || ExpandLerp === void 0 ? void 0 : ExpandLerp.value : ExpandLerp, isRaw: typeof ExpandLerp === "object" && "isRaw" in ExpandLerp && ExpandLerp.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 })] })));
}
exports.LabelPointerMesh = LabelPointerMesh;
;