collada.asset.Contributor¶
- class collada.asset.Contributor(author=None, authoring_tool=None, comments=None, copyright=None, source_data=None, xmlnode=None)¶
Defines authoring information for asset management
- __init__(author=None, authoring_tool=None, comments=None, copyright=None, source_data=None, xmlnode=None)¶
Create a new contributor
- Parameters:
author (str) – The author’s name
authoring_tool (str) – Name of the authoring tool
comments (str) – Comments from the contributor
copyright (str) – Copyright information
source_data (str) – URI referencing the source data
xmlnode – If loaded from xml, the xml node
Methods
__init__([author, authoring_tool, comments, ...])Create a new contributor
load(collada, localscope, node)Load and return a class instance from an XML node.
save()Saves the contributor info back to
xmlnodeAttributes
xmlnodeElementTree representation of the contributor.
authorContains a string with the author's name.
authoring_toolContains a string with the name of the authoring tool.
commentsContains a string with comments from this contributor.
copyrightContains a string with copyright information.
source_dataContains a string with a URI referencing the source data for this asset.