source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/Content/Web/mrdoob-three.js-4862f5f/docs/api/loaders/LoadingManager.html@ 28897

Last change on this file since 28897 was 28897, checked in by davidb, 10 years ago

GUI front-end to server base plus web page content

File size: 781 bytes
Line 
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8" />
5 <script src="../../list.js"></script>
6 <script src="../../page.js"></script>
7 <link type="text/css" rel="stylesheet" href="../../page.css" />
8 </head>
9 <body>
10 <h1>[name]</h1>
11
12 <div class="desc">Handles and keeps track of loaded and pending data.</div>
13 <code>
14var manager = new THREE.LoadingManager();
15manager.onProgress = function ( item, loaded, total ) {
16
17 console.log( item, loaded, total );
18
19};
20
21var loader = new THREE.OBJLoader( manager );
22loader.load( 'file.obj', function ( object ) {
23
24 //
25
26} );
27 </code>
28
29 <h2>Constructor</h2>
30
31 <h3>[name]()</h3>
32 <div>
33 todo
34 </div>
35
36 <h2>Source</h2>
37
38 [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
39 </body>
40</html>
Note: See TracBrowser for help on using the repository browser.