Package | org.ascollada.types |
Class | public class DaeColorOrTexture |
Inheritance | DaeColorOrTexture DaeEntity |
Property | Defined by | ||
---|---|---|---|
asset : DaeAsset
| DaeEntity | ||
async : Boolean | DaeEntity | ||
color : Array | DaeColorOrTexture | ||
extras : Object | DaeEntity | ||
id : String | DaeEntity | ||
name : String | DaeEntity | ||
sid : String | DaeEntity | ||
texture : DaeTexture | DaeColorOrTexture | ||
type : uint | DaeColorOrTexture |
Method | Defined by | ||
---|---|---|---|
DaeColorOrTexture(node:XML = null)
| DaeColorOrTexture | ||
getAttribute(node:XML, name:String, stripPound:Boolean = true):String
| DaeEntity | ||
getAttributeAsFloat(node:XML, name:String, defaultValue:Number = 0):Number
| DaeEntity | ||
getAttributeAsInt(node:XML, name:String, defaultValue:int = 0):int
| DaeEntity | ||
getBools(node:XML):Array
| DaeEntity | ||
getFloats(node:XML):Array
| DaeEntity | ||
getInts(node:XML):Array
| DaeEntity | ||
getNode(parent:XML, nodeName:String):XML
| DaeEntity | ||
getNodeById(parent:XML, nodeName:String, id:String):XML
| DaeEntity | ||
getNodeContent(parent:XML):String
| DaeEntity | ||
getNodeList(parent:XML, nodeName:String):XMLList
| DaeEntity | ||
getStrings(node:XML):Array
| DaeEntity | ||
read(node:XML):void
| DaeColorOrTexture | ||
write(indent:String = ""):String
| DaeEntity | ||
writeSimpleEndElement(nodeName:String, indent:String = ""):String
| DaeEntity | ||
writeSimpleStartElement(nodeName:String, indent:String = ""):String
| DaeEntity |
Constant | Defined by | ||
---|---|---|---|
TYPE_COLOR : uint = 0 [static]
| DaeColorOrTexture | ||
TYPE_PARAM : uint = 2 [static]
| DaeColorOrTexture | ||
TYPE_TEXTURE : uint = 1 [static]
| DaeColorOrTexture |
color | property |
public var color:Array
texture | property |
public var texture:DaeTexture
type | property |
public var type:uint
DaeColorOrTexture | () | constructor |
public function DaeColorOrTexture(node:XML = null)
Parameters
node:XML (default = null )
|
read | () | method |
public override function read(node:XML):void
Parameters
node:XML |
TYPE_COLOR | constant |
public static const TYPE_COLOR:uint = 0
TYPE_PARAM | constant |
public static const TYPE_PARAM:uint = 2
TYPE_TEXTURE | constant |
public static const TYPE_TEXTURE:uint = 1