Régler de façon importante interactive événement et engager un plan:
1 2 3 4 5 6 7 8 | BitmapAssetMaterial = new BitmapAssetMaterial ( "foto1" ) ; var mymaterial: BitmapAssetMaterial BitmapAssetMaterial = new ("photo1"); ; mymaterial interactive = true.; Plane = new Plane ( my_material , 200 , 100 , 0 , 0 ) ; myplane var: Avion = nouvel avion (my_material, 200, 100, 0, 0); ( InteractiveScene3DEvent . OBJECT_PRESS , myplane. addEventListener (InteractiveScene3DEvent. OBJECT_PRESS, e : InteractiveScene3DEvent ) : void { function (e: InteractiveScene3DEvent): void { / / TODO } ); |
vous pouvez activer l'affichage de la "main" agissant sur BasicView qu'il contient et "rend", et non pas sur des éléments individuels tridimensianali:
1 2 3 | BasicView = new BasicView ( stage . stageWidth , stage . stageHeight , false , true ) ; var bv: = new BasicView BasicView (. internship. stageWidth, stages stageHeight, faux, vrai); = true ; BV buttonMode = true.; = true ; . bv useHandCursor = true; |










Il n'y a aucun commentaire pour cet article
Laisser un commentaire