开发者

What is a sprite in papervision 3D?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜