[Papervision3D] VectorLetter3D height and width settings

David Di Biase dave.dibiase at gmail.com
Sat Jul 18 05:19:11 PDT 2009


Hi there,

I'm trying to create taller letters for my application but whenever I set
the height or width values in my code, the class doesn't seem to take it
into effect when generating the proportions. Here is my code:

            textMat = new Letter3DMaterial(0x0066CC);
            textMat.doubleSided = true;

            textFont = new Eurostile();

            text = new VectorLetter3D("S", textMat, textFont);
            text.height = 350;
            view.scene.addChild(text);

            text = new VectorLetter3D("A", textMat, textFont);
            text.height = 150;
            text.width = 100;
            text.x = 60;
            view.scene.addChild(text);

Both S and A appear on stage next to each other but at the same exact size.
Weird.

Maybe I'm missing something important? Heh.

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090718/1032b937/attachment.html>


More information about the Papervision3D mailing list