Articles Tagged 'cursor'

Papervision 3D: to show the hand cursor on the 3D interactive elements

Set in a material way interactive and engaging event with a plan:

1
2
3
4
5
6
7
8
BitmapAssetMaterial = new BitmapAssetMaterial ( "foto1" ) ; var mymaterial: BitmapAssetMaterial = new BitmapAssetMaterial ("photo1");
; mymaterial. interactive = true;
Plane = new Plane ( my_material , 200 , 100 , 0 , 0 ) ; var myplane: Plane = new Plane (my_material, 200, 100, 0, 0);
( InteractiveScene3DEvent . OBJECT_PRESS , myplane. addEventListener (InteractiveScene3DEvent. OBJECT_PRESS,
e : InteractiveScene3DEvent ) : void { function (e: InteractiveScene3DEvent): void {
/ / Todo
}
);

More ...


Stop SOPA