Get all properties for a specific frame
| 113 | |
| 114 | // Get all properties for a specific frame |
| 115 | std::string Noise::PropertiesJSON(int64_t requested_frame) const { |
| 116 | |
| 117 | // Generate JSON properties list |
| 118 | Json::Value root = BasePropertiesJSON(requested_frame); |
| 119 | |
| 120 | // Keyframes |
| 121 | root["level"] = add_property_json("Level", level.GetValue(requested_frame), "int", "", &level, 0, 100, false, requested_frame); |
| 122 | |
| 123 | // Return formatted string |
| 124 | return root.toStyledString(); |
| 125 | } |