API Reference

Class List

pc.AudioSourceComponentSystem

Extends: pc.ComponentSystem

Controls playback of an audio sample. This class will be deprecated in favor of pc.SoundComponentSystem.

Summary

Methods

setVolume()Set the volume for the entire AudioSource system.

Inherited

Details

Constructor

AudioSourceComponentSystem(app, manager)

Parameters

apppc.ApplicationThe Application
managerpc.SoundManagerThe sound manager

Methods

setVolume()(value)

Set the volume for the entire AudioSource system. All sources will have their volume multiplied by this value

Parameters

valueNumberThe value to set the volume to. Valid from 0.0 - 1.0

Inherited