Logo Search packages:      
Sourcecode: blender version File versions  Download package

colladaImEx::collada::DaeGeometry Class Reference

Inheritance diagram for colladaImEx::collada::DaeGeometry:

List of all members.


Detailed Description

class DaeMaterial(DaeElement): def __init__(self): super(DaeMaterial,self).__init__() self.asset = None self.iEffects = [] self.extras = None self.syntax = DaeSyntax.MATERIAL

def LoadFromXml(self, daeDocument, xmlNode): super(DaeMaterial, self).LoadFromXml(daeDocument, xmlNode) self.extras = CreateObjectsFromXml(daeDocument, xmlNode, DaeSyntax.EXTRA, DaeExtra) self.asset = CreateObjectFromXml(daeDocument, xmlNode, DaeSyntax.ASSET, DaeAsset) self.iEffects = CreateObjectsFromXml(daeDocument,xmlNode, DaeSyntax.INSTANCE_EFFECT, DaeEffectInstance)

def SaveToXml(self, daeDocument): node = super(DaeMaterial, self).SaveToXml(daeDocument) # Add the assets AppendChild(daeDocument,node,self.asset) # Add the effect instances AppendChilds(daeDocument, node, self.iEffects) # Add the extra's AppendChilds(self,node,self.extras) return node

def __str__(self): return super(DaeLight,self).__str__()+' assets: s, data: s, extras: s'%(self.asset, self.data, self.extras)

Definition at line 717 of file collada.py.


Public Member Functions

def __init__
def __str__
def GetType
def HasOnlyTriangles
def LoadFromXml
def SaveToXml

Public Attributes

 asset
 data
 extras
 id
 name
 syntax

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index