public void AddFrame(SceneFrame frame) { if (this.frames == null) { this.frames = new List <SceneFrame>(); } frames.Add(frame); }
public bool AddSceneFrame(string nodeName, SceneFrame frame) { if (!nodesList.ContainsKey(nodeName)) { return(false); } else { nodesList[nodeName].AddFrame(frame); } return(true); }