UNPKG

three-game-engine

Version:

Simple light-weight game engine using three.js, three-mesh-ui and rapier

9 lines (8 loc) 289 B
import Component from "../Component"; import * as THREE from 'three'; declare class SoundComponent extends Component { positionalAudio: THREE.PositionalAudio; load(): Promise<void>; playSound(delayInSec?: number, detune?: number | null): void; } export default SoundComponent;