public void SetProperty <T>(HPropH <T> ph, int heh, T p) where T : new() { m_hprops.GetProperty(ph)[heh] = p; }
public T GetProperty <T>(HPropH <T> ph, int heh) where T : new() { return(m_hprops.GetProperty(ph)[heh]); }
public void RemoveProperty <T>(HPropH <T> ph) { m_hprops.RemoveProperty(ph); }
public Property <T> GetProperty <T>(HPropH <T> ph) where T : new() { return(m_hprops.GetProperty(ph)); }
/// <summary> /// Add Half edge property for the given property handle /// </summary> /// <typeparam name="T"></typeparam> /// <param name="ph">Half edg Property Handle</param> public void AddProperty <T>(HPropH <T> ph) where T : new() { m_hprops.AddProperty(ph); m_hprops.Resize(edgeCount * 2); }