You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en-us/reference/engine/classes/SoundService.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ properties:
96
96
- an `Class.AudioDeviceOutput` will be created and parented to `Class.SoundService`
97
97
- a `Class.Wire` will be created and parented to the previously-created `Class.AudioListener`
98
98
- `Class.Wire.SourceInstance` will be set to the previously-created `Class.AudioListener`, and `Class.Wire.TargetInstance` will be set to the previously-created `Class.AudioDeviceOutput`
99
-
So, the world will be heard from the perspective (postition and orientation) of your camera.
99
+
As a result, the world will be heard from the perspective (postition and orientation) of your camera.
100
100
101
101
If `Class.SoundService.DefaultListenerLocation` is `Character`, then
102
102
- an `Class.Attachment` will be created and parented to your `Class.Players.LocalPlayer`'s `Class.Player.Character`'s `Class.Model.PrimaryPart`
@@ -105,7 +105,7 @@ properties:
105
105
- a `Class.Wire` will be created and parented to the previously-created `Class.AudioListener`
106
106
- `Class.Wire.SourceInstance` will be set to the previously-created `Class.AudioListener`, and `Class.Wire.TargetInstance` will be set to the previously-created `Class.AudioDeviceOutput`
107
107
- the previously-created `Class.Attachment` will be updated once-per-frame to face the same direction as `Class.Workspace.CurrentCamera`
108
-
So, the world will be heard from the position of your character, while matching the orientation of your camera.
108
+
As a result, the world will be heard from the position of your character, while matching the orientation of your camera.
109
109
110
110
If `Class.SoundService.DefaultListenerLocation` is `Default`, then its behavior depends on the value of `Class.VoiceChatService.EnableDefaultVoice` and `Class.VoiceChatService.UseAudioApi`.
111
111
When using the default voice setup with the audio API, this behaves similarly to `Camera`.
0 commit comments