bool SetTexture(Rhino.DocObjects.Texture texture, Rhino.DocObjects.TextureType which, bool front) { IntPtr pMaterial = NonConstMaterialPointer(front); IntPtr pTexture = texture.ConstPointer(); return(UnsafeNativeMethods.ON_Material_SetTexture(pMaterial, pTexture, (int)which)); }
public bool SetTransparencyTexture(Rhino.DocObjects.Texture texture, bool front) { return(SetTexture(texture, Rhino.DocObjects.TextureType.Transparency, front)); }
public bool SetEnvironmentTexture(Rhino.DocObjects.Texture texture, bool front) { return(SetTexture(texture, Rhino.DocObjects.TextureType.Emap, front)); }
public bool SetBumpTexture(Rhino.DocObjects.Texture texture, bool front) { return(SetTexture(texture, Rhino.DocObjects.TextureType.Bump, front)); }
public Rhino.DocObjects.Texture Texture() { Rhino.DocObjects.Texture texture = new Rhino.DocObjects.Texture(this); return(texture); }
public Rhino.DocObjects.Texture Texture() { Rhino.DocObjects.Texture texture = new Rhino.DocObjects.Texture(this); return texture; }
public bool SetTransparencyTexture(Rhino.DocObjects.Texture texture, bool front) { return(SetTexture(texture, Rhino.DocObjects.Material.idxTransparencyTexture, front)); }
public bool SetEnvironmentTexture(Rhino.DocObjects.Texture texture, bool front) { return(SetTexture(texture, Rhino.DocObjects.Material.idxEmapTexture, front)); }
public bool SetBumpTexture(Rhino.DocObjects.Texture texture, bool front) { return(SetTexture(texture, Rhino.DocObjects.Material.idxBumpTexture, front)); }