neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 7.04 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.AvatarVoiceRangeVisualizer = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../../core");
function AvatarVoiceRangeVisualizer(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, VolumeSource = props.VolumeSource, AudioOutput = props.AudioOutput, WhisperColorMin = props.WhisperColorMin, WhisperColorMax = props.WhisperColorMax, WhisperColorRecordingMessage = props.WhisperColorRecordingMessage, VisualRoot = props.VisualRoot, _activeUser = props._activeUser, _visualSize = props._visualSize, _visualColor = props._visualColor;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.CommonAvatar.AvatarVoiceRangeVisualizer", id: id, persistentId: persistentId, updateOrder: updateOrder, version: 1 }, { 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.IField`1[System.Single]]", name: "VolumeSource", id: typeof VolumeSource === "object" && "id" in VolumeSource ? VolumeSource === null || VolumeSource === void 0 ? void 0 : VolumeSource.id : undefined, value: typeof VolumeSource === "object" && "value" in VolumeSource ? VolumeSource === null || VolumeSource === void 0 ? void 0 : VolumeSource.value : VolumeSource, isRaw: typeof VolumeSource === "object" && "isRaw" in VolumeSource && VolumeSource.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RelayRef`1[FrooxEngine.AudioOutput]", name: "AudioOutput", id: typeof AudioOutput === "object" && "id" in AudioOutput ? AudioOutput === null || AudioOutput === void 0 ? void 0 : AudioOutput.id : undefined, value: typeof AudioOutput === "object" && "value" in AudioOutput ? AudioOutput === null || AudioOutput === void 0 ? void 0 : AudioOutput.value : AudioOutput, isRaw: typeof AudioOutput === "object" && "isRaw" in AudioOutput && AudioOutput.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "WhisperColorMin", id: typeof WhisperColorMin === "object" && "id" in WhisperColorMin ? WhisperColorMin === null || WhisperColorMin === void 0 ? void 0 : WhisperColorMin.id : undefined, value: typeof WhisperColorMin === "object" && "value" in WhisperColorMin ? WhisperColorMin === null || WhisperColorMin === void 0 ? void 0 : WhisperColorMin.value : WhisperColorMin, isRaw: typeof WhisperColorMin === "object" && "isRaw" in WhisperColorMin && WhisperColorMin.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "WhisperColorMax", id: typeof WhisperColorMax === "object" && "id" in WhisperColorMax ? WhisperColorMax === null || WhisperColorMax === void 0 ? void 0 : WhisperColorMax.id : undefined, value: typeof WhisperColorMax === "object" && "value" in WhisperColorMax ? WhisperColorMax === null || WhisperColorMax === void 0 ? void 0 : WhisperColorMax.value : WhisperColorMax, isRaw: typeof WhisperColorMax === "object" && "isRaw" in WhisperColorMax && WhisperColorMax.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "WhisperColorRecordingMessage", id: typeof WhisperColorRecordingMessage === "object" && "id" in WhisperColorRecordingMessage ? WhisperColorRecordingMessage === null || WhisperColorRecordingMessage === void 0 ? void 0 : WhisperColorRecordingMessage.id : undefined, value: typeof WhisperColorRecordingMessage === "object" && "value" in WhisperColorRecordingMessage ? WhisperColorRecordingMessage === null || WhisperColorRecordingMessage === void 0 ? void 0 : WhisperColorRecordingMessage.value : WhisperColorRecordingMessage, isRaw: typeof WhisperColorRecordingMessage === "object" && "isRaw" in WhisperColorRecordingMessage && WhisperColorRecordingMessage.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "VisualRoot", id: typeof VisualRoot === "object" && "id" in VisualRoot ? VisualRoot === null || VisualRoot === void 0 ? void 0 : VisualRoot.id : undefined, value: typeof VisualRoot === "object" && "value" in VisualRoot ? VisualRoot === null || VisualRoot === void 0 ? void 0 : VisualRoot.value : VisualRoot, isRaw: typeof VisualRoot === "object" && "isRaw" in VisualRoot && VisualRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.User]", name: "_activeUser", id: typeof _activeUser === "object" && "id" in _activeUser ? _activeUser === null || _activeUser === void 0 ? void 0 : _activeUser.id : undefined, value: typeof _activeUser === "object" && "value" in _activeUser ? _activeUser === null || _activeUser === void 0 ? void 0 : _activeUser.value : _activeUser, isRaw: typeof _activeUser === "object" && "isRaw" in _activeUser && _activeUser.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.float3]", name: "_visualSize", id: typeof _visualSize === "object" && "id" in _visualSize ? _visualSize === null || _visualSize === void 0 ? void 0 : _visualSize.id : undefined, value: typeof _visualSize === "object" && "value" in _visualSize ? _visualSize === null || _visualSize === void 0 ? void 0 : _visualSize.value : _visualSize, isRaw: typeof _visualSize === "object" && "isRaw" in _visualSize && _visualSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.color]", name: "_visualColor", id: typeof _visualColor === "object" && "id" in _visualColor ? _visualColor === null || _visualColor === void 0 ? void 0 : _visualColor.id : undefined, value: typeof _visualColor === "object" && "value" in _visualColor ? _visualColor === null || _visualColor === void 0 ? void 0 : _visualColor.value : _visualColor, isRaw: typeof _visualColor === "object" && "isRaw" in _visualColor && _visualColor.isRaw ? true : undefined })] })));
}
exports.AvatarVoiceRangeVisualizer = AvatarVoiceRangeVisualizer;
;