8 #ifndef PXR_USD_USDUI_ATTRIBUTE_HINTS_H 9 #define PXR_USD_USDUI_ATTRIBUTE_HINTS_H 12 #include "pxr/usd/usd/attribute.h" 15 #include "pxr/base/vt/value.h" 19 PXR_NAMESPACE_OPEN_SCOPE
88 PXR_NAMESPACE_CLOSE_SCOPE
A "schema-like" wrapper that provides API for retrieving and authoring UI hint values within the uiHi...
A map with string keys and VtValue values.
UsdAttribute GetAttribute() const
Return the attribute that this hints instance is interpreting.
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
USDUI_API bool SetValueLabelsOrder(const VtTokenArray &order)
Set the attribute's value labels order. Return true if successful.
USDUI_API bool SetValueLabels(const VtDictionary &labels)
Set the attribute's value labels dictionary.
A "schema-like" wrapper that provides API for retrieving and authoring UI hint values within the uiHi...
USDUI_API VtDictionary GetValueLabels() const
Return the attribute's value labels dictionary.
USDUI_API bool ApplyValueLabel(const std::string &label)
Author the value associated with the given label to the attribute.
USDUI_API UsdUIAttributeHints()
Default constructor that creates an invalid hints object.
USDUI_API VtTokenArray GetValueLabelsOrder() const
Return the value labels order, indicating the order in which value labels should appear.