Search code examples
3dpapervision3d

What is a sprite in papervision 3D?


What is a sprite in papervision 3D?


Solution

  • 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.