Changes between Initial Version and Version 1 of MaterialList


Ignore:
Timestamp:
02/26/08 13:56:56 (7 years ago)
Author:
ArcRiley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MaterialList

    v1 v1  
     1= !MaterialList = 
     2== tuple-like material list == 
     3 
     4'''soy._datatypes.!MaterialList''' is a tuple-like class which is returned by '''soy.meshes.Mesh.materials'''. 
     5 
     6Materials are added to a !MaterialList by appending an instance of '''soy.atoms.Face''' to a mesh with that material or changing the material of an existing face.  Materials are removed from a !MaterialList in the same way; by removing all faces using that material or changing the material of each face which uses it. 
     7 
     8Currently there is no way to replace or remove materials beside changing each Face directly.  This functionality may be added in the future as it becomes necessary, but in the meantime, it's recommended in cases where this is needed to change the properties of a material rather than replace it. 
     9 
     10More complete unit testing is needed to ensure the above described behavior is true.