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"
19PXR_NAMESPACE_OPEN_SCOPE
88PXR_NAMESPACE_CLOSE_SCOPE
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
A "schema-like" wrapper that provides API for retrieving and authoring UI hint values within the uiHi...
USDUI_API bool SetValueLabels(const VtDictionary &labels)
Set the attribute's value labels dictionary.
USDUI_API bool SetValueLabelsOrder(const VtTokenArray &order)
Set the attribute's value labels order. Return true if successful.
USDUI_API UsdUIAttributeHints(const UsdAttribute &attr)
Construct a hints object for the given UsdAttribute attr.
UsdAttribute GetAttribute() const
Return the attribute that this hints instance is interpreting.
USDUI_API VtTokenArray GetValueLabelsOrder() const
Return the value labels order, indicating the order in which value labels should appear.
USDUI_API UsdUIAttributeHints()
Default constructor that creates an invalid hints object.
USDUI_API bool ApplyValueLabel(const std::string &label)
Author the value associated with the given label to the attribute.
USDUI_API VtDictionary GetValueLabels() const
Return the attribute's value labels dictionary.
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.