Packageorg.ascollada.core
Classpublic class DaePrimitive
InheritanceDaePrimitive Inheritance DaeEntity



Public Properties
 PropertyDefined by
 Inheritedasset : DaeAsset
DaeEntity
 Inheritedasync : Boolean
DaeEntity
  count : uint
The number of line primitives.
DaePrimitive
 Inheritedextras : Object
DaeEntity
 Inheritedid : String
DaeEntity
  material : String
materialname
DaePrimitive
  mesh : DaeMesh
parent element
DaePrimitive
 Inheritedname : String
DaeEntity
  normals : Array
[read-only] normals
DaePrimitive
 Inheritedsid : String
DaeEntity
  type : String
primitive type
DaePrimitive
  vcount : Array
vcount use by polygon primitives
DaePrimitive
  vertices : Array
[read-only] vertex indices
DaePrimitive
Public Methods
 MethodDefined by
  
DaePrimitive(mesh:DaeMesh, node:XML = null)
DaePrimitive
 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
  
getTexCoords(setID:uint = 0):Array
gets the texcoords by set.
DaePrimitive
  
read(node:XML):void
DaePrimitive
 Inherited
write(indent:String = ""):String
DaeEntity
 Inherited
writeSimpleEndElement(nodeName:String, indent:String = ""):String
DaeEntity
 Inherited
writeSimpleStartElement(nodeName:String, indent:String = ""):String
DaeEntity
Protected Methods
 MethodDefined by
  
parse(node:XML):void
DaePrimitive
Property detail
countproperty
public var count:uint

The number of line primitives. required

materialproperty 
public var material:String

materialname

meshproperty 
public var mesh:DaeMesh

parent element

normalsproperty 
normals:Array  [read-only]

normals

Implementation
    public function get normals():Array
typeproperty 
public var type:String

primitive type

vcountproperty 
public var vcount:Array

vcount use by polygon primitives

verticesproperty 
vertices:Array  [read-only]

vertex indices

Implementation
    public function get vertices():Array
Constructor detail
DaePrimitive()constructor
public function DaePrimitive(mesh:DaeMesh, node:XML = null)

Parameters
mesh:DaeMesh
 
node:XML (default = null)
Method detail
getTexCoords()method
public function getTexCoords(setID:uint = 0):Array

gets the texcoords by set.

Parameters
setID:uint (default = 0)

Returns
Array
parse()method 
protected function parse(node:XML):void

Parameters
node:XML
read()method 
public override function read(node:XML):void

Parameters
node:XML