[Papervision3D] Cube Enum Class ?
Mark Walters
driverjase at gmail.com
Wed Dec 12 14:05:38 PST 2007
Is there, or are there plans to have, an enumerated class with all of the
Cube side names as constants? At first I thought it was Cube.ALL, etc, but
as you all know that returns an integer instead of a string.
Maybe you can make a CubeSide class that you could reference and get both
the integer and string values out of like so:
CubeSide.ALL would return a CubeSide typed object with an id and name
property. So to get the string you would write CubeSide.ALL.name or to get
the selection id you would write CubeSide.ALL.id.
In any case, it would be nice to have constants for the string names as
well.
--
Mark Walters
mwalters at digitalflipbook.com
http://digitalflipbook.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071212/7ba78841/attachment.html
More information about the Papervision3D
mailing list