* @param[in] propertyValue The new value of the property
* @pre The property types match i.e. propertyValue.GetType() is equal to GetPropertyType(index).
*/
- void SetProperty(Property::Index index, const Property::Value& propertyValue);
+ void SetProperty(Property::Index index, Property::Value propertyValue);
/**
* @brief Registers a new animatable property.
* - Property::ROTATION
* @note If a property with the desired name already exists, then the value given is just set.
*/
- Property::Index RegisterProperty(const std::string& name, const Property::Value& propertyValue);
+ Property::Index RegisterProperty(std::string name, Property::Value propertyValue);
/**
* @brief Register a new animatable property with an integer key.
* - Property::ROTATION
* @note If a property with the desired name already exists, then the value given is just set.
*/
- Property::Index RegisterProperty(Property::Index key,
- const std::string& name,
- const Property::Value& propertyValue);
+ Property::Index RegisterProperty(Property::Index key,
+ std::string name,
+ Property::Value propertyValue);
/**
* @brief Registers a new property.
* - Property::ROTATION
* @note If a property with the desired name already exists, then the value given is just set.
*/
- Property::Index RegisterProperty(const std::string& name, const Property::Value& propertyValue, Property::AccessMode accessMode);
+ Property::Index RegisterProperty(std::string name, Property::Value propertyValue, Property::AccessMode accessMode);
/**
* @brief Retrieves a property value.