Papervision 3D: zu den Hand-Cursor auf den 3D-interaktive Elemente zeigen

In einem Material Weise interactive und ansprechende Veranstaltung mit einem Plan:

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

Sie können die Anzeige der "Hand" Drehen des BasicView , die es enthält, und "macht", und nicht bei einzelnen Artikeln tridimensianali:

1
2
3
BasicView = new BasicView ( stage . stageWidth , stage . stageHeight , false , true ) ; var BV: = new BasicView BasicView (. internship. stageWidth, Praktika stageHeight, false, true);
= true ; bv buttonMode = true.;
= true ; . BV useHandCursor = true;

Es sind keine Kommentare für diesen Beitrag

Hinterlasse einen Kommentar

TAG XHTML Papiere: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Platzhalter-Codes:
 <pre></pre> // blocco generico <code></code> // blocco generico [cc_actionscript][/cc_actionscript] // Actionscript [cc_actionscript3][/cc_actionscript3] // Actionscript 3 [cc_css][/cc_css] // CSS Style Sheet [cc_html][/cc_html] // HTML [cc_js][/cc_js] // Javascript [cc_objc][/cc_objc] // Objective-C [cc_php][/cc_objc] // PHP [cc_sql][/cc_sql] // SQL 


Stop SOPA