Share

userData

<userData> is dictionary object that stores client-defined elements.

Here is an simple example of a <userData> structure used to store the name and version of the source application that created the .clip.

<userData type="dict">
    <appName type="string">Flame</appName>
    <appVersion type="int16">2017</appVersion>
</userData>
AttributeDescriptionData TypeAllowed ValuesAttribute is...
typeThe data type of the element.character datadictRequired
versionVersion of the xml element.unsigned integer4Implied
Children
#undefined

No children elements are defined for the <userData> element since its data structure is undefined; each child element created by the client must define its data type using the type attribute. The allowed data types are listed below.

Data TypeDefined Values
Integer (bound or unbound)int, int8, int16, int32, int64
Unsigned integer (bound or unbound)uint, uint8, uint16, uint32, uint64
Floating pointfloat, double
Booleanbool
Stringstring

Parents

Was this information helpful?