Attribute.setDescription


setDescription([description])

Sets a helpful description to be used in the attribute tree. If no string is given, the attribute will automatically create a description. Note that most attribute types do not yet support this functionality, and therefore the automatically generated description would be blank. Alternatively, the description can be passed to this function in which case it overrides any automatic description

descriptionoptional string description to attach
Return valuePointer to this objectAllows multiple function calls to be chained together

Back to Attribute

Back to Overview