View unanswered posts | View active topics It is currently 2021-04-21 9:02



Reply to topic  [ 1 post ] 
 如何给Network3d设置背景贴图 
Author Message
TWaver开发组
User avatar

Joined: 2010-08-04 15:49
Posts: 986
Post 如何给Network3d设置背景贴图
3D的api里面提供了setBackgroundImage方法,但设置背景贴图的同时还需要注意设置下面的代码:
Code:
network3d.setClearColor('#000000');
network3d.setClearAlpha(0);
network3d.setBackgroundImage('./images/bg.jpg')


2015-12-23 11:19
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: