Papervision 3D: para mostrar el cursor de la mano de los elementos interactivos en 3D

Situado en una forma material interactive evento y comprometerse con un plan:

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

puede activar la visualización de la "mano" que actúan sobre BasicView que lo contiene y "hace", y no en términos individuales tridimensianali:

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

No hay comentarios para esta entrada

Deja un comentario

XHTML PERMISO TAG: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> código de inserción:
 <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 


Dejar de SOPA