Package | away3dlite.core.utils |
Class | public class Cast |
Inheritance | Cast Object |
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.
Parameters
data:* |
BitmapData |
bytearray | () | method |
public static function bytearray(data:*):ByteArray
Casts the given data value as a bytearray.
Parameters
data:* |
ByteArray |
color | () | method |
public static function color(data:*):uint
Casts the given data value as a color.
Parameters
data:* |
uint |
material | () | method |
public static function material(data:*):Material
Casts the given data value as a material object.
Parameters
data:* |
Material |
string | () | method |
public static function string(data:*):String
Casts the given data value as a string.
Parameters
data:* |
String |
xml | () | method |
public static function xml(data:*):XML
Casts the given data value as an xml object.
Parameters
data:* |
XML |