[Papervision3D] Cube Enum Class ?
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
mwalters at digitalflipbook.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D