Parsing data without having it try to load other files…

Software: Away3D 4.x

empend, Member
Posted: 07 October 2011 08:39 PM   Total Posts: 77

Hello!
Is there any way to parse data without the class I’m trying to use (Loader3D) attempting to load additional files?

I just want to be able to give a parser the data, and it give me the models, so I can use them…

Thanks for any help!

   

Richard Olsson, Administrator
Posted: 08 October 2011 02:07 AM   Total Posts: 1192   [ # 1 ]

Pass in a loader context with includeDependencies set to false:

ctx = new AssetLoaderContext();
ctx.includeDependencies = false;
myLoader.loadData(myData, null, ctx);

   

empend, Member
Posted: 08 October 2011 04:37 AM   Total Posts: 77   [ # 2 ]

Thanks a lot. smile

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X