UNPKG

neos-script

Version:

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

23 lines (22 loc) 6.37 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.AudioClipAssetMetadata = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function AudioClipAssetMetadata(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, AudioClip = props.AudioClip, SampleRate = props.SampleRate, Channels = props.Channels, ChannelCount = props.ChannelCount, SampleCount = props.SampleCount, Duration = props.Duration, Extension = props.Extension, CodecInfo = props.CodecInfo, FullyDecoded = props.FullyDecoded; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.AudioClipAssetMetadata", 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.AssetRef`1[FrooxEngine.AudioClip]", name: "AudioClip", id: typeof AudioClip === "object" && "id" in AudioClip ? AudioClip === null || AudioClip === void 0 ? void 0 : AudioClip.id : undefined, value: typeof AudioClip === "object" && "value" in AudioClip ? AudioClip === null || AudioClip === void 0 ? void 0 : AudioClip.value : AudioClip, isRaw: typeof AudioClip === "object" && "isRaw" in AudioClip && AudioClip.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "SampleRate", id: typeof SampleRate === "object" && "id" in SampleRate ? SampleRate === null || SampleRate === void 0 ? void 0 : SampleRate.id : undefined, value: typeof SampleRate === "object" && "value" in SampleRate ? SampleRate === null || SampleRate === void 0 ? void 0 : SampleRate.value : SampleRate, isRaw: typeof SampleRate === "object" && "isRaw" in SampleRate && SampleRate.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[CodeX.ChannelConfiguration]", name: "Channels", id: typeof Channels === "object" && "id" in Channels ? Channels === null || Channels === void 0 ? void 0 : Channels.id : undefined, value: typeof Channels === "object" && "value" in Channels ? Channels === null || Channels === void 0 ? void 0 : Channels.value : Channels, isRaw: typeof Channels === "object" && "isRaw" in Channels && Channels.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "ChannelCount", id: typeof ChannelCount === "object" && "id" in ChannelCount ? ChannelCount === null || ChannelCount === void 0 ? void 0 : ChannelCount.id : undefined, value: typeof ChannelCount === "object" && "value" in ChannelCount ? ChannelCount === null || ChannelCount === void 0 ? void 0 : ChannelCount.value : ChannelCount, isRaw: typeof ChannelCount === "object" && "isRaw" in ChannelCount && ChannelCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "SampleCount", id: typeof SampleCount === "object" && "id" in SampleCount ? SampleCount === null || SampleCount === void 0 ? void 0 : SampleCount.id : undefined, value: typeof SampleCount === "object" && "value" in SampleCount ? SampleCount === null || SampleCount === void 0 ? void 0 : SampleCount.value : SampleCount, isRaw: typeof SampleCount === "object" && "isRaw" in SampleCount && SampleCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Double]", name: "Duration", id: typeof Duration === "object" && "id" in Duration ? Duration === null || Duration === void 0 ? void 0 : Duration.id : undefined, value: typeof Duration === "object" && "value" in Duration ? Duration === null || Duration === void 0 ? void 0 : Duration.value : Duration, isRaw: typeof Duration === "object" && "isRaw" in Duration && Duration.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.String]", name: "Extension", id: typeof Extension === "object" && "id" in Extension ? Extension === null || Extension === void 0 ? void 0 : Extension.id : undefined, value: typeof Extension === "object" && "value" in Extension ? Extension === null || Extension === void 0 ? void 0 : Extension.value : Extension, isRaw: typeof Extension === "object" && "isRaw" in Extension && Extension.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.String]", name: "CodecInfo", id: typeof CodecInfo === "object" && "id" in CodecInfo ? CodecInfo === null || CodecInfo === void 0 ? void 0 : CodecInfo.id : undefined, value: typeof CodecInfo === "object" && "value" in CodecInfo ? CodecInfo === null || CodecInfo === void 0 ? void 0 : CodecInfo.value : CodecInfo, isRaw: typeof CodecInfo === "object" && "isRaw" in CodecInfo && CodecInfo.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Boolean]", name: "FullyDecoded", id: typeof FullyDecoded === "object" && "id" in FullyDecoded ? FullyDecoded === null || FullyDecoded === void 0 ? void 0 : FullyDecoded.id : undefined, value: typeof FullyDecoded === "object" && "value" in FullyDecoded ? FullyDecoded === null || FullyDecoded === void 0 ? void 0 : FullyDecoded.value : FullyDecoded, isRaw: typeof FullyDecoded === "object" && "isRaw" in FullyDecoded && FullyDecoded.isRaw ? true : undefined })] }))); } exports.AudioClipAssetMetadata = AudioClipAssetMetadata; ;