33 #include <libxml/tree.h> 52 std::string prefixedName;
66 for (
auto propname : extended_xml_material_props) {
68 if (configValue !=
nullptr) {
70 outValues->
setProperty(prefixedName.c_str(), configValue);
77 std::string prefixedName;
81 if (inValues->
getProperty(value, prefixedName.c_str())) {
85 if (inValues->
getProperty(value, prefixedName.c_str())) {
89 if (inValues->
getProperty(value, prefixedName.c_str())) {
93 if (inValues->
getProperty(value, prefixedName.c_str())) {
99 std::string configValue;
100 for (
auto propname : extended_xml_material_props) {
103 if (inValues->
getProperty(configValue, prefixedName.c_str())) {
virtual bool getProperty(std::string &out, const char *property)=0
virtual void setValues(PropertySource *inValues)
static const char * extended_xml_material_props[]
virtual void setProperty(const char *property, const std::string &value)=0
std::string paramNamePrefix
prefix for parameter names
virtual ~PPDMaterialProperties()
BodyParamInfo * bodyParamInfo
PhysicsMaterial material
Material of the body's first shape.
virtual void getValues(PropertySink *outValues)