/// <summary> /// Get the texture that corresponds with the specified texture type for this material. /// </summary> /// <param name="which"></param> /// <returns></returns> /// <since>7.0</since> public DocObjects.Texture GetTexture(DocObjects.TextureType which) { return(Material.GetTexture(which)); }
/// <summary> /// Set the texture that corresponds with the specified texture type for this material. /// </summary> /// <param name="texture">An instance of Rhino.DocObjects.Texture</param> /// <param name="which">Use Rhino.DocObjects.TextureType</param> /// <returns></returns> /// <since>7.0</since> public bool SetTexture(DocObjects.Texture texture, DocObjects.TextureType which) { return(Material.SetTexture(texture, which)); }