-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a description for SoundService.DefaultListenerLocation #868
base: main
Are you sure you want to change the base?
Conversation
Adds a description for SoundService.DefaultListenerLocation
- an `Class.AudioListener` will be created and parented-to `Class.Workspace.CurrentCamera` | ||
- an `Class.AudioDeviceOutput` will be created and parented-to `Class.SoundService` | ||
- a `Class.Wire` will be created and parented-to the previously-created `Class.AudioListener` | ||
- `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` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation supports nested lists, right? We could indent this one forward to put it under the previous line about the wire
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does that need special syntax? I'm not familiar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm I would think you indent the bullet one more time but I don't know how legit that is
- an `Class.AudioDeviceOutput` will be created and parented-to `Class.SoundService` | ||
- a `Class.Wire` will be created and parented-to the previously-created `Class.AudioListener` | ||
- `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` | ||
- the previously-created `Class.Attachment` will be updated once-per-frame to face the same direction as `Class.Workspace.CurrentCamera` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could move this line to be indented under the earlier line about the Attachment
Co-authored-by: matthewzhang-rbx <[email protected]>
Since this is controlled by a |
Makes sense; I'll submit a followup for that page |
This pull request has been inactive for 14 days. If it remains inactive for another 7 days, it will close. Please update or comment on this pull request to keep it open. 🙏 |
Changes
Adds a description for SoundService.DefaultListenerLocation
Checks
By submitting your pull request for review, you agree to the following: