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.
精彩评论