Package | away3dlite.core.utils |
Class | public class Cast |
Method | Defined by | ||
---|---|---|---|
bitmap(data:*):BitmapData
[static]
Casts the given data value as a bitmapdata object.
| Cast | ||
bytearray(data:*):ByteArray
[static]
Casts the given data value as a bytearray.
| Cast | ||
color(data:*):uint
[static]
Casts the given data value as a color.
| Cast | ||
[static]
Casts the given data value as a material object.
| Cast | ||
string(data:*):String
[static]
Casts the given data value as a string.
| Cast | ||
xml(data:*):XML
[static]
Casts the given data value as an xml object.
| Cast |
bitmap | () | method |
public static function bitmap(data:*):BitmapData
Casts the given data value as a bitmapdata object.
Parametersdata:* |
BitmapData |
bytearray | () | method |
public static function bytearray(data:*):ByteArray
Casts the given data value as a bytearray.
Parametersdata:* |
ByteArray |
color | () | method |
public static function color(data:*):uint
Casts the given data value as a color.
Parametersdata:* |
uint |
material | () | method |
public static function material(data:*):Material
Casts the given data value as a material object.
Parametersdata:* |
Material |
string | () | method |
public static function string(data:*):String
Casts the given data value as a string.
Parametersdata:* |
String |
xml | () | method |
public static function xml(data:*):XML
Casts the given data value as an xml object.
Parametersdata:* |
XML |