开发者

What is a sprite in papervision 3D?

开发者 https://www.devze.com 2022-12-27 04:41 出处:网络
What is a sprit开发者_如何学Pythone in papervision 3D?Papervision3D is a set of custom classes. A \'sprite\' in papervision is a display object. The following code will create a new copy of the Sprite

What is a sprit开发者_如何学Pythone in papervision 3D?


Papervision3D is a set of custom classes. A 'sprite' in papervision is a display object. The following code will create a new copy of the Sprite class.

var mySprite:Sprite = new Sprite();

You can extend the sprite in the follow way:

package {
   import flash.display.Sprite;

   public class extendedSprite extends Sprite{

   }
}

The BasicView class is, in the end, an extended of the Sprite class.

0

精彩评论

暂无评论...
验证码 换一张
取 消