Get all properties for a specific frame
| 150 | |
| 151 | // Get all properties for a specific frame |
| 152 | std::string Delay::PropertiesJSON(int64_t requested_frame) const { |
| 153 | |
| 154 | // Generate JSON properties list |
| 155 | Json::Value root = BasePropertiesJSON(requested_frame); |
| 156 | |
| 157 | // Keyframes |
| 158 | root["delay_time"] = add_property_json("Delay Time", delay_time.GetValue(requested_frame), "float", "", &delay_time, 0, 5, false, requested_frame); |
| 159 | |
| 160 | // Return formatted string |
| 161 | return root.toStyledString(); |
| 162 | } |