Packageorg.ascollada.types
Classpublic class DaeColorOrTexture
InheritanceDaeColorOrTexture Inheritance DaeEntity



Public Properties
 PropertyDefined by
 Inheritedasset : DaeAsset
DaeEntity
 Inheritedasync : Boolean
DaeEntity
  color : Array
DaeColorOrTexture
 Inheritedextras : Object
DaeEntity
 Inheritedid : String
DaeEntity
 Inheritedname : String
DaeEntity
 Inheritedsid : String
DaeEntity
  texture : DaeTexture
DaeColorOrTexture
  type : uint
DaeColorOrTexture
Public Methods
 MethodDefined by
  
DaeColorOrTexture(node:XML = null)
DaeColorOrTexture
 Inherited
getAttribute(node:XML, name:String, stripPound:Boolean = true):String
DaeEntity
 Inherited
getAttributeAsFloat(node:XML, name:String, defaultValue:Number = 0):Number
DaeEntity
 Inherited
getAttributeAsInt(node:XML, name:String, defaultValue:int = 0):int
DaeEntity
 Inherited
getBools(node:XML):Array
DaeEntity
 Inherited
getFloats(node:XML):Array
DaeEntity
 Inherited
getInts(node:XML):Array
DaeEntity
 Inherited
getNode(parent:XML, nodeName:String):XML
DaeEntity
 Inherited
getNodeById(parent:XML, nodeName:String, id:String):XML
DaeEntity
 Inherited
getNodeContent(parent:XML):String
DaeEntity
 Inherited
getNodeList(parent:XML, nodeName:String):XMLList
DaeEntity
 Inherited
getStrings(node:XML):Array
DaeEntity
  
read(node:XML):void
DaeColorOrTexture
 Inherited
write(indent:String = ""):String
DaeEntity
 Inherited
writeSimpleEndElement(nodeName:String, indent:String = ""):String
DaeEntity
 Inherited
writeSimpleStartElement(nodeName:String, indent:String = ""):String
DaeEntity
Public Constants
 ConstantDefined by
  TYPE_COLOR : uint = 0
[static]
DaeColorOrTexture
  TYPE_PARAM : uint = 2
[static]
DaeColorOrTexture
  TYPE_TEXTURE : uint = 1
[static]
DaeColorOrTexture
Property detail
colorproperty
public var color:Array
textureproperty 
public var texture:DaeTexture
typeproperty 
public var type:uint
Constructor detail
DaeColorOrTexture()constructor
public function DaeColorOrTexture(node:XML = null)

Parameters
node:XML (default = null)
Method detail
read()method
public override function read(node:XML):void

Parameters
node:XML
Constant detail
TYPE_COLORconstant
public static const TYPE_COLOR:uint = 0
TYPE_PARAMconstant 
public static const TYPE_PARAM:uint = 2
TYPE_TEXTUREconstant 
public static const TYPE_TEXTURE:uint = 1