AudioStreamWriterクラス
ひとことで言うと
AudioStreamWriterは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Writes audio samples from Luau buffers into an audio stream for custom synthesis.
クラスの関係
プロパティ(4)
| 名前と書き方 | 説明 |
|---|---|
LayoutAudioStreamWriter.Layout: AudioChannelLayout | The channel layout of the audio stream that the writer produces. |
SampleFormatAudioStreamWriter.SampleFormat: AudioSampleFormat | The sample format of the audio data stored in the internal buffer. |
SampleRateAudioStreamWriter.SampleRate: int | The sample rate of the audio data, in Hertz. |
WindowSizeAudioStreamWriter.WindowSize: AudioWindowSize | Controls the size of the internal ring buffer that stores audio samples before they are consumed by the audio engine. |
メソッド(5)
| 名前と書き方 | 説明 |
|---|---|
GetConnectedWiresAudioStreamWriter:GetConnectedWires(pin: string): List<Wire> | Returns an array of Class.Wire|Wires that are connected to the specified pin. |
GetInputPinsAudioStreamWriter:GetInputPins(): Array | Gets the list of pins that Wire can use in Wire.TargetName to connect to this instance via its Wire.TargetInstance property. |
GetOutputPinsAudioStreamWriter:GetOutputPins(): Array | Gets the list of pins that Wire can use in Wire.SourceName to connect to this instance via its Wire.SourceInstance property. |
SpaceAudioStreamWriter:Space(): int | Returns the number of frames that can be written without dropping samples. |
WriteAudioStreamWriter:Write(audioBuffer: Array): int | Writes audio samples into the internal buffer for playback. |
イベント(1)
| 名前と書き方 | 説明 |
|---|---|
WiringChangedAudioStreamWriter.WiringChanged(connected: boolean, pin: string, wire: Wire, instance: Instance) | Fires when another instance is connected to or disconnected from the AudioStreamWriter via a Wire. |
受け継いでいるメンバー
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(AudioStreamWriter)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。