Skybox visible not working

Software: Away3D 4.x

Zerone, Newbie
Posted: 12 June 2012 11:37 PM   Total Posts: 22

I want to set the SkyBox as ON/OFF in run time.
But I have find out there is a bug on visible setting of skybox, it is not working at all.

whatever you set visible=true or visible=false, it always display as ON

var cubeMap:BitmapCubeTexture = new BitmapCubeTexture(new PosX().bitmapData, new NegX().bitmapData, new PosY().bitmapData, new NegY().bitmapData, new PosZ().bitmapData, new NegZ().bitmapData);
   
_skyBox = new SkyBox(cubeMap);
   
_skyBox.visible false// true or false; but always display
   
_scene.addChild(_skyBox); 
   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X