Ejemplo n.º 1
0
 public void SetProperty <T>(HPropH <T> ph, int heh, T p) where T : new()
 {
     m_hprops.GetProperty(ph)[heh] = p;
 }
Ejemplo n.º 2
0
 public T GetProperty <T>(HPropH <T> ph, int heh) where T : new()
 {
     return(m_hprops.GetProperty(ph)[heh]);
 }
Ejemplo n.º 3
0
 public void RemoveProperty <T>(HPropH <T> ph)
 {
     m_hprops.RemoveProperty(ph);
 }
Ejemplo n.º 4
0
 public Property <T> GetProperty <T>(HPropH <T> ph) where T : new()
 {
     return(m_hprops.GetProperty(ph));
 }
Ejemplo n.º 5
0
 /// <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);
 }