#pragma once #include "attrdefine.h" class AttrHelper { public: static float* GetAttrAbsPtr(std::array& attr, int attr_id); static float* GetAttrRatePtr(std::array& attr, int attr_id); static bool ParseAttr(std::shared_ptr xobj, std::array& attr_abs, std::array& attr_rate); static std::string GetAttrName(int attr_id); };