getAttributeWritableArrayData#
Fully qualified name: isaacsim::ros2::omnigraph_utils::getAttributeWritableArrayData
-
template<typename T>
inline T *isaacsim::ros2::omnigraph_utils::getAttributeWritableArrayData( - const NodeObj &nodeObj,
- const std::string &attrName,
- size_t newCount,
Gets writable data for an array attribute with resizing.
Retrieves a writable pointer to an array attribute’s data, resizing the array to the specified size. Used for modifying array attribute values in an OmniGraph node.
- Template Parameters:
T – Data type of the array elements
- Parameters:
nodeObj – [in] OmniGraph node object containing the attribute
attrName – [in] Name of the attribute to retrieve
newCount – [in] New size to set for the array
- Returns:
T* Writable pointer to the array data, or nullptr if not found