API Reference

Class List

AudioListenerComponent

Extends: Component

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

Summary

Inherited

Properties

system

The ComponentSystem used to create this Component.

entity

The Entity that this Component is attached to.

enabled

Enables or disables the component.

Details

Constructor

AudioListenerComponent(system, entity)

Create new AudioListenerComponent.

Parameters

systemAudioListenerComponentSystem

The ComponentSystem that created this Component.

entityEntity

The Entity that this Component is attached to.

Inherited

Properties

ComponentSystemsystem

The ComponentSystem used to create this Component.

Entityentity

The Entity that this Component is attached to.

booleanenabled

Enables or disables the component.