Method | Description | |
---|---|---|
Import ( |
Imports all joint nodes referenced by <skeleton> nodes and their children. Stores the found joints in the given model's joint collection.
|
Method | Description | |
---|---|---|
CreateNodeTransform ( |
Looks for transformation elements (matrix, rotate, scale, translate, lookat) within a node and creates a transform matrix from it. If no transformations are found Identity is returned. skew transformations are not supported right now |
|
FindJointNodes ( |
Finds root joint nodes in the document. If there are none an empty list is returned.
|
|
GetNodeName ( |
Returns a name of the given XML node. If the name attribute is defined its value is returned. Otherwise the id attribute is used instead. If no id is defined null is returned.
|
|
ReadJoints ( |
Reads the given joints and all of their children recursively. Newly created joints are appended to the Children collection of the parent (if not null) and to the Joints collection of the given model.
|
public Import ( |
||
xmlRoot | XML root node | |
model | ColladaModel | model to store joints in |
return | void |