Quantcast
Channel: Bugs Latest Topics
Viewing all articles
Browse latest Browse all 760

Position canvas on PG BABYLON.Analyser

$
0
0

Hello,

If use this :

var myAnalyser = new BABYLON.Analyser(scene);
BABYLON.Engine.audioEngine.connectToAnalyser(myAnalyser);
myAnalyser.drawDebugCanvas();

The frame is not positioned in the canvas :

http://www.babylonjs-playground.com/#PTV7W#8

And this causes a bug : ( connectToAnalyser is not a function )

var myAnalyser = new BABYLON.Analyser(scene);
music.connectToAnalyser(myAnalyser);
myAnalyser.drawDebugCanvas();

http://www.babylonjs-playground.com/#PTV7W#9

 

 


Viewing all articles
Browse latest Browse all 760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>