public void RecordSnapshot(Dictionary <string, object> properties) { List <KeyValuePair <string, object> > temp = new List <KeyValuePair <string, object> >(properties.Count); foreach (var prop in properties) { temp.Add(new KeyValuePair <string, object>(prop.Key, prop.Value)); } DynamicManager.SetProperties(DataId, temp); }
/// <summary> /// manually record position and rotation and properties on this dynamic object /// </summary> public void RecordSnapshot(List <KeyValuePair <string, object> > properties) { DynamicManager.SetProperties(DataId, properties); }