Attribute Range
Most attributes have a specific range of valid values. Use the Get Attribute Minimum, Get Attribute Maximum, and Get Attribute Increment functions to query the range of numeric attribute types. Use the Enumerate Attribute Values function to query the range of enumerated types. String, bool, and command attributes do not have a range.
The following range is applicable for any given attribute.
Attribute Type | Compatible Range |
---|---|
U32 | Minimum, Maximum, Increment |
I64 | Minimum, Maximum, Increment |
F64 | Minimum, Maximum, Increment |
String | N/A |
Enum | Attribute Values |
Bool | N/A |
Command | N/A |