volume(...)
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
volume(v : number[]) : this;
Sets the current volume.
Default value: [1,1]
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
v | number[] | The volume to set, as [l, r] where l and r are between 0 and 1. |
Returns
Section titled “Returns”this