API Reference

Class List

pc.AudioListenerComponent

Extends: pc.Component

Represents the audio listener in the 3D world, so that 3D positioned audio sources are heard correctly.

Summary

Inherited

Properties

enabledEnables or disables the component.

Details

Constructor

AudioListenerComponent(system, entity)

Create new AudioListenerComponent

Parameters

systempc.AudioListenerComponentSystemThe ComponentSystem that created this Component
entitypc.EntityThe Entity that this Component is attached to.

Inherited

Properties

Booleanenabled

Enables or disables the component.